JanetDocsPlaygroundI'm feeling luckyGitHub sign in

drop



    function
    boot.janet on line 1137, column 1

    (drop n ind)

    Drop the first n elements in an indexed or bytes type. Returns a 
    new tuple or string instance, respectively.


2 examplesSign in to add an example
Loading...
(drop 1 "smile")
# => "mile"
sogaiuPlayground
(drop 1 [1 1 2 3 5 8])
# => '(1 2 3 5 8)
sogaiuPlayground