Skip to content
FutureBlitz

    Install

    Import std.core.parse

    Bool

    std.core.parse

    extend

    Extend Bool

    Reading a Bool from text.

    std/core/parse.fb, line 153

    • Public Static Method Parse(text: String): Bool? static method #

      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.