@szilanor/stream
Preparing search index...
findIndexAsync
Variable findIndexAsync
Const
findIndexAsync
:
<
T
>
(
predicate
?:
MaybeAsyncPredicateFunction
<
T
>
,
)
=>
AsyncCollectorFunction
<
T
,
number
>
= firstIndexAsync
Type declaration
<
T
>
(
predicate
?:
MaybeAsyncPredicateFunction
<
T
>
,
)
:
AsyncCollectorFunction
<
T
,
number
>
Returns the index of the first entry from the Iterable that satisfy then 'predicate' function.
Type Parameters
T
Parameters
predicate
:
MaybeAsyncPredicateFunction
<
T
>
= ...
Returns
AsyncCollectorFunction
<
T
,
number
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@szilanor/stream
Loading...
Returns the index of the first entry from the Iterable that satisfy then 'predicate' function.