Searched refs:findLastIndex (Results 1 – 2 of 2) sorted by relevance
1 import { findLastIndex, groupBy, intersecting, replaceValue } from '../array';3 describe(findLastIndex, () => {7 expect(findLastIndex(array, predicate)).toBe(9);
2 export function findLastIndex<T>(array: T[], predicate: (item: T) => boolean) { function