(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 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 |