/** * Get the index of the next entry that matches a transactional predicate. * * @tsplus static effect/core/stm/TArray.Aspects indexWhereSTM * @tsplus pipeable effect/core/stm/TArray indexWhereSTM */ export function indexWhereSTM(f: (a: A) => STM) { return (self: TArray): STM => self.indexWhereFromSTM(f, 0) }