pallet.environment-impl documentation

Implementation namespace for the pallet environment.

get-for

fn

[session keys]
[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