Skip to main content

flatten

functionv1.2

clojure.core/flatten

Available in:BBCLJCLJS
(flatten [x])
Takes any nested combination of sequential things (lists, vectors, etc.) and returns their contents as a single, flat lazy sequence. (flatten nil) returns an empty sequence.

No examples yet. Be the first to add one!