Enum.all?(["foo", "bar", "hello"], fn(s) -> String.length(s) == 3 end) false Enum.all?(["foo", "bar", "hello"], fn(s) -> String.length(s) > 1 end) true
Enum.any?(["foo", "bar", "hello"], fn(s) -> String.length(s) == 5 end) true