wiki:LibraryBoolean

Boolean methods

Operators

  • and: Boolean and
  • or: Boolean or
  • not: Boolean not
  • ==: Checks two boolean values for equality
  • !=: The inverse of ==

Methods

  • string: Coerces boolean object to string
  • number: Coerces boolean object to number (0 = false, 1 = true)
  • print: prints to standard output