(filter-focused 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 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.
(focused? x)
True if x has focus metadata set to true.
True if x has focus metadata set to true.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close