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

19 lines
343 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.
2015-09-15 07:46:09 -07:00
:::dart
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"`.