Import std.core.parse
Bool
extend
Extend Bool
Reading a Bool from text.
-
True for "True", False for "False", and Null for any other text.
Examples
Expect(Bool.Parse("True") == True) Expect(Bool.Parse("yes") == Null)
Report an issue with this page or with FutureBlitz on GitHub.