Skip to main content

flatten

functionv1.7

cljs.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 sequence. (flatten nil) returns nil.

No examples yet. Be the first to add one!