(filter-focused {:keys [include? exclude?]} s)
If any items in sequence s are focused, return them, with focus metadata added to the sequence; else return s unchanged.
If any items in sequence s are focused, return them, with focus metadata added to the sequence; else return s unchanged.
(filter-tree config s)
If any item or sequence in the tree rooted at s has focus metadata set to true, returns just the focused items while preserving their position in the tree. Otherwise returns s unchanged.
If any item or sequence in the tree rooted at s has focus metadata set to true, returns just the focused items while preserving their position in the tree. Otherwise returns s unchanged.
(focus-fns config)
Returns map of {:include? include-fn :exclude? exclude-fn}.
Returns map of {:include? include-fn :exclude? exclude-fn}.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close