Skip to main content

Module bool_like

Module bool_like 

Source
Expand description

Boolean-like string parsing.

This module normalizes common human-facing boolean spellings used in runtime configuration rows and environment-like settings. It deliberately returns an Option<bool> so callers can decide whether invalid input should fail closed, fall back to a default, or surface a product-specific validation error.

Functionsยง

parse_bool_like
Parses common boolean spellings such as true, 1, yes, and on.