Expand description
Semantic boolean utilities for interpreting various truthy/falsy values.
Functions§
- is_
env_ truthy - Check if an environment variable is truthy
- is_
falsy - Check if a value is falsy (empty, “false”, “no”, etc.)
- is_
truthy - Check if a value is truthy (not empty, not “false”, etc.)
- parse_
env_ bool - Parse a boolean from environment variable
- to_bool
- Convert a semantic value to boolean