== operator overridden with __eq

This commit is contained in:
Junseo Yoo 2024-07-03 14:37:01 -07:00
parent 97439cfe5e
commit 3babf9bfab

View file

@ -90,7 +90,7 @@ All attributes of newly created typelib are initialized with empty tables / arra
| Instance Methods | Return Type | Description |
| ------------- | ------------- | ------------- |
| `issubtypeof(arg: typelib)` | `boolean` | returns true if self is syntactically a subtype or equal to arg in the type hierarchy |
| `equalsto(arg: typelib)` | `boolean` | returns true if self is syntactically equal to arg in the type hierarchy |
| `__eq(arg: typelib)` | `boolean` | overrides the == operator to return true if self is syntactically equal to arg in the type hierarchy |
| Static Methods | Return Type | Description |
| ------------- | ------------- | ------------- |