Enum.all?/1
defmodule Enum do
def all?(enumerable)
end
Returns true
if all the elements in enumerable
are truthy.
As soon as one element is falsy, the iteration stops and the whole function returns false
.
On empty enumerables this function returns true
.