(get-keyword x)
If x
is a [:keyword value]
pair, return the keyword; otherwise
return nil
.
If `x` is a `[:keyword value]` pair, return the keyword; otherwise return `nil`.
(get-kv-pair coll k)
Given coll
of [:keyword value]
pairs, return the pair
with keyword k
. In other words, just like get
for
associative collections.
Given `coll` of `[:keyword value]` pairs, return the pair with keyword `k`. In other words, just like `get` for associative collections.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close