Implementation namespace for the pallet environment.
Implementation namespace for the pallet environment.
(get-for session keys)
(get-for session keys default)
Retrieve the environment value at the path specified by keys.
When no default value is specified, then raise an :environment-not-found
if
no environment value is set.
(get-for {:p {:a {:b 1} {:d 2}}} [:p :a :d])
;=> 2
Retrieve the environment value at the path specified by keys. When no default value is specified, then raise an `:environment-not-found` if no environment value is set. (get-for {:p {:a {:b 1} {:d 2}}} [:p :a :d]) ;=> 2
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |