Skip to content

clojure.core/sequential?

View this page on ClojureDocs

Type: function Added: Clojure 1.0 Examples: 2 Runnable: 1
([coll])

Returns true if coll implements Sequential

Examples

by rustem.suniev on
by KGOH on . May have evaluation errors.

Note by zackteo

Of the four key collection types, vectors and lists are ordered (aka sequential). Sets and maps are not.

See also


Content from the matching ClojureDocs page, with authors credited on each contribution.