Buy me a coffee
Kotlin
›
コレクション操作
›
count
←
drop
count
コレクション操作
any
→
条件に合う要素数を返します。
構文
collection.count { predicate? }