fun <T> matchAllPredicate(predicate: (T) -> Boolean, vararg items: T): Boolean
Test if given all of vararg parameter are match given predicate
Usages testWithParams({ it.length > 3 }, "Steve", "Bobs") -> true testWithParams({ it.length > 3 }, "Steve", "Bob") -> false
predicate
- : Higher-order function that given single and return as Boolean
Parameters