effect-io-ai

Package: effect
Module: TArray

TArray.findFirstIndexFrom

Get the first index of a specific value in the array starting from the specified index.

Signature

declare const findFirstIndexFrom: { <A>(value: A, from: number): (self: TArray<A>) => STM.STM<Option.Option<number>>; <A>(self: TArray<A>, value: A, from: number): STM.STM<Option.Option<number>>; }

Source

Since v2.0.0