pub fn bool_in(s: &str) -> Result<bool, TypeError>Expand description
The text input of bool. It takes true, yes, on and 1 and the matching words for false, in any case, with white space around them, and any prefix of a word that is not ambiguous. o is ambiguous, so on and off need two letters.