TypeScriptArrayfindIndex
fill

findIndexArray

findLast

Returns the index of the first element satisfying the provided testing function.

Syntax

array.findIndex(predicate): number