From db7a65b0da295ba124d0d99b81d70e65238f0575 Mon Sep 17 00:00:00 2001 From: Junseo Yoo Date: Mon, 1 Jul 2024 12:03:43 -0700 Subject: [PATCH] Added indexer methods for Class types --- docs/user-defined-type-functions.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/user-defined-type-functions.md b/docs/user-defined-type-functions.md index fa81ab2..aac839f 100644 --- a/docs/user-defined-type-functions.md +++ b/docs/user-defined-type-functions.md @@ -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 | | `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 | +| `getindextype()` | `typelib` | returns self's index type | +| `getindexresulttype()` | `typelib` | returns self's index result type |