Liking cljdoc? Tell your friends :D

integrant-tools.env

Functions for pulling values from environment variables.

Functions for pulling values from environment variables.
raw docstring

*env*clj

source

bool-mclj

source

coercecljmultimethod

Coerce a value to the type referenced by a symbol. By default supports Int and Str.

Coerce a value to the type referenced by a symbol. By default supports
`Int` and `Str`.
sourceraw docstring

envclj

(env name)
(env name type & options)

Resolve an environment variable by name. Optionally accepts a type for coercion, and a keyword option, :or, that provides a default value if the environment variable is missing.

For example: {:port #env ["PORT" Int :or 3000]}

Resolve an environment variable by name. Optionally accepts a type for
coercion, and a keyword option, `:or`, that provides a default value if the
environment variable is missing.

For example:
    {:port #env ["PORT" Int :or 3000]}
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close