The input item type.
Input array, or a promise that resolves to one.
Async predicate to evaluate.
Optionaloptions: FindIndexOptionsConfiguration options including cancellation and concurrency.
A cancellable handle resolving to the matched index or -1.
Finds the index of the first item whose async predicate resolves to true. Returns -1 if no item matches.
The input item type.
Input array, or a promise that resolves to one.
Async predicate to evaluate.
Optionaloptions: FindIndexOptionsConfiguration options including cancellation and concurrency.
A cancellable handle resolving to the matched index or -1.
Finds the index of the first item whose async predicate resolves to true. Returns -1 if no item matches.