Skip to main content

prefix

function

rewrite-clj.zip/prefix

(prefix [zloc s])
Return zipper with the current node in `zloc` prefixed with string `s`. Operates on token node or a multi-line node, else exception is thrown. When multi-line, first line is prefixed.

No examples yet. Be the first to add one!