Buy me a coffee
Kotlin
›
컬렉션 연산
›
count
count
컬렉션 연산
조건에 맞는 요소 수를 반환합니다.
문법
collection.count { predicate? }