JanetDocsSign in with Github

all



    function
    boot.janet on line 1678, column 1

    (all pred xs)
    
    Returns true if all xs are truthy, otherwise the resulty of first
    falsey predicate value, (pred x).


1 exampleSign in to add an example
Loading...
janet:2:> (all true? [true true false])
false
janet:3:> (all even? [2 4 6 7])
false
janet:5:> (all even? [2 4 6])
true
swlkr