Expand description
Built-in parse_env
functions.
Functions§
- ignore_
empty - Ignore the environment variable if it’s empty and fallback to the previous or default value.
- parse_
bool - Parse a string into a boolean. Will parse
1
,true
,yes
,on
, andenabled
as true, and everything else as false. - split_
colon - Split a variable on each colon (
:
) and parse into a list of values. - split_
comma - Split a variable on each comma (
,
) and parse into a list of values. - split_
semicolon - Split a variable on each semicolon (
;
) and parse into a list of values. - split_
space - Split a variable on each space (