Skip to content
0

katanakit-js / useFindIndex

Function: useFindIndex() ​

ts
function useFindIndex<T>(array, predicate): number;

Defined in: src/core/services/array.service.ts:469

Returns the index of the first match, or -1. See ArrayService.useFindIndex.

Type Parameters ​

Type Parameter
T

Parameters ​

ParameterType
arrayNullableArray<T>
predicatePredicate<T>

Returns ​

number

Released under the MIT License.