Getting the indices of elements in vectors by giving a predicate or by equality. Linear-time algorithms.
Getting the indices of elements in vectors by giving a predicate or by equality. Linear-time algorithms.
(index v elt)
Getting the first index of an element in a vector.
Getting the first index of an element in a vector.
(position pred v)
Getting the index of the first element satisfying a predicate.
Getting the index of the first element satisfying a predicate.
(positions pred v)
All positions of elements of a vector satisfying a predicate.
All positions of elements of a vector satisfying a predicate.
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 |