2015-01-18 23:36:36 +00:00
|
|
|
^title Bool Class
|
|
|
|
|
^category core
|
|
|
|
|
|
|
|
|
|
Boolean values. There are two instances, `true` and `false`.
|
|
|
|
|
|
2015-03-27 14:43:36 +00:00
|
|
|
## Methods
|
|
|
|
|
|
2015-01-18 23:36:36 +00:00
|
|
|
### **!** operator
|
|
|
|
|
|
|
|
|
|
Returns the logical complement of the value.
|
|
|
|
|
|
2015-09-22 14:59:54 +00:00
|
|
|
:::wren
|
2015-10-18 22:56:52 +00:00
|
|
|
System.print(!true) //> false
|
|
|
|
|
System.print(!false) //> true
|
2015-01-18 23:36:36 +00:00
|
|
|
|
|
|
|
|
### toString
|
|
|
|
|
|
|
|
|
|
The string representation of the value, either `"true"` or `"false"`.
|