Skip to main content

get_optional_bool

Function get_optional_bool 

Source
pub fn get_optional_bool(params: &[(String, String)], key: &str) -> Option<bool>
Expand description

Get an optional boolean parameter.

Parses "true" / "false" (case-insensitive). Returns None if the parameter is absent.