Skip to content

clojure.core/first

View this page on ClojureDocs

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

Returns the first item in the collection. Calls seq on its argument. If coll is nil, returns nil.

Examples

by dpritchett on
by belun on
by Juve-yescas on . May have evaluation errors.
by zuzhi on . May have evaluation errors.

See also


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