Buy me a coffee
Kotlin
›
コレクション操作
›
any
←
count
any
コレクション操作
all
→
条件を満たす要素が一つでもあるか確認します。
構文
collection.any { predicate }