true
each value matches, otherwise false
. Returns true
also if the list is empty.false
, then the function will also return false
.EVERY(animals, item.weight > 5)
true
EVERY(animals, item.weight < 100)
false
EVERY(animals, item.name != "horse")
true
EVERY<product>(products, product.category == "Utility")
false