mirror of
https://github.com/luau-lang/rfcs.git
synced 2025-04-19 11:23:55 +01:00
Added indexer methods for Class types
This commit is contained in:
parent
1ad250d1c4
commit
db7a65b0da
1 changed files with 2 additions and 0 deletions
|
@ -184,6 +184,8 @@ All attributes of newly created typelib are initialized with empty tables / arra
|
||||||
| `getprops()` | `table` | returns the runtime representation of table of class's properties |
|
| `getprops()` | `table` | returns the runtime representation of table of class's properties |
|
||||||
| `getparent()` | `typelib \| nil` | returns the runtime representation of self's parent class if it exists, else nil |
|
| `getparent()` | `typelib \| nil` | returns the runtime representation of self's parent class if it exists, else nil |
|
||||||
| `getmetatable()` | `typelib \| nil` | returns the runtime representation of self's `Metatable` if it exists, else nil |
|
| `getmetatable()` | `typelib \| nil` | returns the runtime representation of self's `Metatable` if it exists, else nil |
|
||||||
|
| `getindextype()` | `typelib` | returns self's index type |
|
||||||
|
| `getindexresulttype()` | `typelib` | returns self's index result type |
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue