Skip to main content

find-value

function

rewrite-clj.zip/find-value

(find-value [zloc v] [zloc f v])
Return `zloc` located to the first token node that `sexpr`esses to `v` else `nil`. Search starts from the current node and continues via movement function `f`. `v` can be a single value or a set. When `v` is a set, matches on any value in set. `f` defaults to [[right]] in short form call. See docs for [sexpr nuances](/doc/01-user-guide.adoc#sexpr-nuances).

No examples yet. Be the first to add one!