JanetDocsI'm feeling luckyGithub sign in

flatten



    function
    boot.janet on line 1425, column 1

    (flatten xs)
    
    Takes a nested array (tree), and returns the depth first traversal of
    that array. Returns a new array.


1 exampleSign in to add an example
Loading...
(flatten [1 [2 3 [4]] 5])  # => @[1 2 3 4 5]
cellularmitosis