• (vals map)
Returns a sequence of the map's values.

1 Example top

  • user=> (vals {:a "foo", :b "bar"})
    ("foo" "bar")
    
Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/core.clj:1454 top

(defn vals
  "Returns a sequence of the map's values."
  {:added "1.0"
   :static true}
  [map] (. clojure.lang.RT (vals map)))
Vars in clojure.core/vals:
Used in 0 other vars

Comments top

1 comment(s) for vals.

Functions keys and vals return sequences such that

(= (zipmap (keys m) (vals m)) m)
Log in to add a comment.