Skip to main content

replace

function

rewrite-clj.zip/replace

(replace [zloc item])
Return `zloc` with the current node replaced by `item`. If `item` is not already a node, an attempt will be made to coerce it to one. Use [[replace*]] for non-coercing version of replace.

No examples yet. Be the first to add one!