effect-io-ai

Package: effect
Module: TArray

TArray.findLastIndexFrom

Get the last index of a specific value in the array bounded above by a specific index.

Signature

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

Source

Since v2.0.0