@tsdotnet/array-utility - v1.0.38
Preparing search index...
findIndex
Function findIndex
findIndex
<
T
>
(
array
:
ArrayLike
<
T
>
,
predicate
:
PredicateWithIndex
<
T
>
)
:
number
Returns the first index of which the provided predicate returns true. Returns -1 if always false.
Type Parameters
T
Parameters
array
:
ArrayLike
<
T
>
predicate
:
PredicateWithIndex
<
T
>
Returns
number
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@tsdotnet/array-utility - v1.0.38
Loading...
Returns the first index of which the provided predicate returns true. Returns -1 if always false.