Buy me a coffee
TypeScript
›
배열
›
findIndex
findIndex
배열
조건을 만족하는 첫 번째 요소의 인덱스를 반환합니다.
문법
array.findIndex(predicate): number