Skip to content

clojure.core/list?

View this page on ClojureDocs

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

Returns true if x implements IPersistentList

Examples

by dpritchett on
by muhuk on

Note by steveminer

You may want to use seq? instead of list?, especially if you might be dealing with a lazy sequence as returned by filter, range, etc.

See also


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