Bool

  • int

    Mechanica

    Returns 1 if true, or 0 if false.

  • Mechanica

    Returns a new Bool with the inverted value of self.

  • Mechanica

    Inverts the value of self.

  • Mechanica

    Returns true or false randomly.

  • Mechanica

    Creates a string representing the given value in the binary base.

    Example:

    true.binaryString -> "1"