JanetDocsPlaygroundI'm feeling luckyGitHub sign in

take



    function
    boot.janet on line 1033, column 1

    (take n ind)

    Take first n elements in an indexed type. Returns new indexed
    instance.


See also:first1 exampleSign in to add an example
Loading...
(take 2 [1 -2 2 3 9 -10])  # (1 -2)
btbytesPlayground