(focus m path)(focus m path opts)(focus m
path
{:keys [mismatch-fn match-fn descend-mismatching-nodes?]
:or {mismatch-fn (constantly (quote _)) match-fn identity}
:as opts}
current-path)Takes a value, runs mismatch-fn on all values that are not in paths and
runs match-fn on all values that are in paths. This is usefull to create
values with every irrelevant values blanked and highlights on the relevant
ones for instance
Takes a value, runs `mismatch-fn` on all values that are not in `paths` and runs `match-fn` on all values that are in `paths`. This is usefull to create values with every irrelevant values blanked and highlights on the relevant ones for instance
(highlight value
{:as _pb
:keys [in val pred]
:exoscale.lingo.explain/keys [message]
:or {message (str "Does not conform to " pred)}}
{:as opts :keys [colors? highlight-inline-message?]})cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |