Module

x/rambda/immutable.d.ts>lastIndexOf

Faster and smaller alternative to Ramda
Latest
function lastIndexOf
import { lastIndexOf } from "https://dotland.deno.dev/x/rambda@9.4.1/immutable.d.ts";

It returns the last index of target in list array.

R.equals is used to determine equality between target and members of list.

If there is no such index, then -1 is returned.

Parameters

target: T
list: readonly T[]

Returns

number

Parameters

target: T

Returns

(list: readonly T[]) => number