all
주어진 조건이 collection 의 모든 element 들에 대해 참일때 true 를 반환한다
Last updated
주어진 조건이 collection 의 모든 element 들에 대해 참일때 true 를 반환한다
Last updated
public inline fun <T> Iterable<T>.all(predicate: (T) -> Boolean): Boolean {
for (element in this) if (!predicate(element)) return false