2015-01-18 15:36:36 -08:00
|
|
|
^title Bool Class
|
|
|
|
|
|
2015-11-08 13:31:22 -08:00
|
|
|
Boolean [values][]. There are two instances, `true` and `false`.
|
|
|
|
|
|
|
|
|
|
[values]: ../../values.html
|
2015-01-18 15:36:36 -08:00
|
|
|
|
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.
|
|
|
|
|
|
2015-09-22 07:59:54 -07:00
|
|
|
:::wren
|
2015-10-18 15:56:52 -07:00
|
|
|
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"`.
|