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

19 lines
339 B
Markdown
Raw Normal View History

2015-01-18 15:36:36 -08:00
^title Bool Class
^category core
Boolean values. There are two instances, `true` and `false`.
2015-03-27 07:43:36 -07:00
## Methods
2015-01-18 15:36:36 -08:00
### **!** operator
Returns the logical complement of the value.
:::wren
System.print(!true) //> false
System.print(!false) //> true
2015-01-18 15:36:36 -08:00
### toString
The string representation of the value, either `"true"` or `"false"`.