decode_bool

Function decode_bool 

Source
pub fn decode_bool(atom: &str) -> Option<bool>
Expand description

Decodes a boolean value

Returns Some(true) if atom is "true", Some(false) if atom is "false", or None otherwise.