ClojureDocs

导航

命名空间

get-in

clojure.core

自 1.2 起可用 (来源)
  • (get-in m ks)
  • (get-in m ks not-found)
Returns the value in a nested associative structure,
where ks is a sequence of keys. Returns nil if the key
is not present, or the not-found value if supplied.