TypeScript配列findLastIndex
findLast

findLastIndex配列

flat

条件を満たす最後の要素のインデックスを返します。(ES2023)

構文

array.findLastIndex(predicate): number