Buy me a coffee
TypeScript
›
배열
›
some
some
배열
조건을 만족하는 요소가 하나라도 있으면 true를 반환합니다.
문법
array.some(predicate): boolean