JanetDocsPlaygroundI'm feeling luckyGitHub sign in

drop-while



    function
    boot.janet on line 1081, column 1

    (drop-while pred ind)

    Given a predicate, remove elements from an indexed type that satisfy
    the predicate, and abort on first failure. Returns a new array.


1 exampleSign in to add an example
Loading...
(drop-while |(> 3 $) [0 1 2 3 4 5 6 7 8 ])
# => (3 4 5 6 7 8)
leobmPlayground