Search
all? returns either true or false. It will return true if all the elements pass the given condition. Let's check if all the elements of the given array are even or not.
all?
true
false