(.indexOf coll search-value)
(.indexOf coll search-value from-index)
The implementation of ClojureScript collections define several JavaScript functions that can be called from ClojureScript using JavaScript interop or directly from JavaScript. This page describes those functions which are officially stable and publicly-consumable.
coll
- a collection satisfying the sequential?
predicate.
search-value
- the value to search for.
from-index
- an optional starting index.
coll
- a collection satisfying the sequential?
predicate.
search-value
- the value to search for.
from-index
- an optional starting index.