Rewrite-cljs Api Documentation

Version: 0.3.0

rewrite-clj.zip.seqz

assoc

(assoc zloc k v)

Set map/seq element to the given value.

get

(get zloc k)

If a map is given, get element with the given key; if a seq is given, get nth element.

list?

(list? zloc)

map

(map f zloc)

Apply function to all value nodes in the given seq node. Iterates over value nodes of maps but over each element of a seq.

map-keys

(map-keys f zloc)

Apply function to all key nodes of the given map node.

map-seq

(map-seq f zloc)

map-vals

(map-vals f zloc)

Apply function to all value nodes of the given map node.

map?

(map? zloc)

seq?

(seq? zloc)

set?

(set? zloc)

vector?

(vector? zloc)