Buy me a coffee
Kotlin
›
컬렉션 연산
›
any
any
컬렉션 연산
조건을 만족하는 요소가 하나라도 있는지 확인합니다.
문법
collection.any { predicate }