• (val e)
Returns the value in the map entry.

3 Examples top

  • user=> (map val {:a 1 :b 2})
    (1 2)
    
  • (val (first {:one :two}))
    :two
  • ;syntactic sugar for (val)
    (:doc (meta #'meta))
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:1467 top

(defn val
  "Returns the value in the map entry."
  {:added "1.0"
   :static true}
  [^java.util.Map$Entry e]
    (. e (getValue)))
Vars in clojure.core/val:
Used in 0 other vars

Comments top

No comments for val. Log in to add a comment.