Manipulation of sequences
Manipulation of sequences
(index-of coll pred)Find the position of x, the first occurence matching(x) in coll.
Returns its position Params:
coll collection to search inpred pred is a function returning true when called on the element to return the sequence ofFind the position of x, the first occurence matching(x) in coll. Returns its position Params: * `coll` collection to search in * `pred` pred is a function returning true when called on the element to return the sequence of
(trim-leading-nil aseq)(trim-leading-nil aseq nil-fn)Remove nil values at the end of a sequence Params:
aseq a sequence which will be tested starting from the endnil-fn is the function to test nullity, (defaulted to nil?)Remove nil values at the end of a sequence Params: * `aseq` a sequence which will be tested starting from the end * `nil-fn` is the function to test nullity, (defaulted to `nil?`)
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 |