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

20 lines
357 B
Markdown
Raw Normal View History

^title Bool Class
Boolean [values][]. There are two instances, `true` and `false`.
[values]: ../../values.html
## 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"`.