brescia123
04/16/2018, 8:29 AMpublic inline fun <T> Iterable<T>.all(predicate: (T) -> Boolean): Boolean
with my colleagues and I realized that a lot of them have different intuitive expectations about the output of the function when called on an empty list. Can someone provide some insights about the decision of make it return true
if the list is empty? Thanks!marcinmoskala
04/18/2018, 9:22 AM