Skip to content

Bool

fn to_string(b: Bool) -> String

Returns "True" or "False".

fn parse(s: String) -> Bool fails ParseError

Reads exactly "True" or "False". Case differences, whitespace and numeric forms fail with ParseError; input preserves the entire original string.