foundry_config::inline::conf_parser

Function parse_config_bool

Source
pub fn parse_config_bool(
    key: String,
    value: String,
) -> Result<bool, InlineConfigParserError>
Expand description

Tries to parse a bool from value. The key argument is used to give details in the case of an error.