Dotenvy.env-exclamation-mark
You're seeing just the function
env-exclamation-mark
, go back to Dotenvy module for more information.
Specs
Reads the given system environment variable
and converts its value to the given
type
.
This relies on System.fetch_env!/1
so it will raise if a variable is
not set or if empty values are encounted when non-empty values are required.
The conversion is delegated to Dotenvy.Transformer.to/2
-- see its documentation
for a list of supported types.
Examples
iex> env!("PORT", :integer)
5432
iex> env!("ENABLED", :boolean)
true