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

23 lines
515 B
Markdown
Raw Normal View History

2015-01-18 15:36:36 -08:00
^title Object Class
^category core
2015-03-27 07:43:36 -07:00
## Methods
2015-01-18 15:36:36 -08:00
### **!** operator
Returns `false`, since most objects are considered [true](control-flow.html#truth).
### **==**(other) and **!=**(other) operators
Compares two objects using built-in equality. This compares numbers by value,
and all other objects are compared by identity—two objects are equal only
if they are the exact same object.
### **toString**
A default string representation of the object.
### **type**
The [Class](#class-class) of the object.