map-vals
function
rewrite-clj.zip/map-vals
(map-vals [f zloc])Returns `zloc` with function `f` applied to each value node of the current node.
Current node must be map node.
`zloc` location is unchanged.
`f` arg is zloc positioned at value node and should return:
- an updated zloc with zloc positioned at value node
- a falsey value to leave value node unchanged
Folks typically use [[edit]] for `f`.
Examples
No examples yet. Be the first to add one!