TypeScriptArrayfindLastIndex
findLast

findLastIndexArray

flat

Returns the index of the last element satisfying the provided testing function. (ES2023)

Syntax

array.findLastIndex(predicate): number