findIndex
findIndex :: (Function predicate, Collection collection) => Any indexdescription
examples
basic example
import { findIndex } from 'conductor'
const words = ['hello', 'world']
const predicate = word => word === 'world'
findIndex(predicate, words) // 1searching in other data structures
using an asynchronous predicate
Last updated