detect

detect(iterator[, context]) -> firstElement | undefined

Finds the first element for which the iterator returns true. Aliased by the find method.