all(list, test)all pass test Type: For any types t([t], (t) -> Boolean) -> Boolean

Returns true if the given function returns true for all items in the list.

If the list is empty, returns true.

ExamplesClick an example to insert it
all([0, 1, 2, 3], (? < 5))true
all(["a", "b", "c"], (? = "b"))false
all([], (? = 0))true