Liking cljdoc? Tell your friends :D

kigen.position

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.
raw docstring

indexclj

(index v elt)

Getting the first index of an element in a vector.

Getting the first index of an element in a vector.
sourceraw docstring

positionclj

(position pred v)

Getting the index of the first element satisfying a predicate.

Getting the index of the first element satisfying a predicate.
sourceraw docstring

positionsclj

(positions pred v)

All positions of elements of a vector satisfying a predicate.

All positions of elements of a vector satisfying a predicate.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close