Files
wren/doc/site/modules/core/bool.markdown

357 B

^title Bool Class

Boolean values. There are two instances, true and false.

Methods

! operator

Returns the logical complement of the value.

:::wren
System.print(!true) //> false
System.print(!false) //> true

toString

The string representation of the value, either "true" or "false".