/**
* Get the first index of a specific value in the arrayor -1 if it does not
* occur.
*
* @tsplus static effect/core/stm/TArray.Aspects lastIndexOf
* @tsplus pipeable effect/core/stm/TArray lastIndexOf
*/
export function lastIndexOf(equivalence: Equivalence, value: A) {
return (self: TArray): STM =>
self.lastIndexOfFrom(equivalence, value, self.length - 1)
}