mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-11 14:18:42 +01:00
doc: fix links from Object to values (#975)
Fix two broken links from the documentation for the Object class to the page describing values.
This commit is contained in:
@ -5,7 +5,7 @@
|
|||||||
### **same**(obj1, obj2)
|
### **same**(obj1, obj2)
|
||||||
|
|
||||||
Returns `true` if *obj1* and *obj2* are the same. For [value
|
Returns `true` if *obj1* and *obj2* are the same. For [value
|
||||||
types](../values.html), this returns `true` if the objects have equivalent
|
types](../../values.html), this returns `true` if the objects have equivalent
|
||||||
state. In other words, numbers, strings, booleans, and ranges compare by value.
|
state. In other words, numbers, strings, booleans, and ranges compare by value.
|
||||||
|
|
||||||
For all other objects, this returns `true` only if *obj1* and *obj2* refer to
|
For all other objects, this returns `true` only if *obj1* and *obj2* refer to
|
||||||
@ -26,7 +26,7 @@ Returns `false`, since most objects are considered [true][].
|
|||||||
### **==**(other) and **!=**(other) operators
|
### **==**(other) and **!=**(other) operators
|
||||||
|
|
||||||
Compares two objects using built-in equality. This compares [value
|
Compares two objects using built-in equality. This compares [value
|
||||||
types](../values.html) by value, and all other objects are compared by
|
types](../../values.html) by value, and all other objects are compared by
|
||||||
identity—two objects are equal only if they are the exact same object.
|
identity—two objects are equal only if they are the exact same object.
|
||||||
|
|
||||||
### **is**(class) operator
|
### **is**(class) operator
|
||||||
|
|||||||
Reference in New Issue
Block a user