Skip to content

to_bool

In std/string.

fn to_bool(self) : Option<Bool>

The truth value self writes as true or false, or none for any other text: "True" | to_bool is none.