Skip to content

clojure.core/vals

View this page on ClojureDocs

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

Returns a sequence of the map's values, in the same order as (seq map).

Examples

by devn on
by sleyzerzon on . May have evaluation errors.

Note by akhudek

Functions keys and vals return sequences such that

(= (zipmap (keys m) (vals m)) m)

See also


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