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

19 lines
339 B
Markdown
Raw Normal View History

^title Bool Class
^category core
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"`.