/** * Get the index of the first entry in the array matching a predicate. * * @tsplus static effect/core/stm/TArray.Aspects indexWhere * @tsplus pipeable effect/core/stm/TArray indexWhere */ export function indexWhere(f: Predicate) { return (self: TArray): STM => self.indexWhereFrom(f, 0) }