Skip to main content

append-child

function

rewrite-clj.zip/append-child

(append-child [zloc item])
Return `zloc` with `item` inserted as the last child of the current node in `zloc`, without moving location. If `item` is not already a node, an attempt will be made to coerce it to one. Will insert space before `item` if necessary. There is no consideration on whitespaceness of `item` itself. Use [[append-child*]] to append without adding any whitespace.

No examples yet. Be the first to add one!