insert-child
function
rewrite-clj.zip/insert-child
(insert-child [zloc item])Return `zloc` with `item` inserted as the first 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 after `item` if necessary.
There is no consideration on whitespaceness of `item` itself.
Use [[insert-child*]] to insert without adding any whitespace.
Examples
No examples yet. Be the first to add one!