From 5320557a0ea5ca89a3568e4d2edae592bd533337 Mon Sep 17 00:00:00 2001 From: Junseo Yoo Date: Mon, 24 Jun 2024 16:38:39 -0700 Subject: [PATCH] getname() should return string not table --- docs/user-defined-type-functions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user-defined-type-functions.md b/docs/user-defined-type-functions.md index 3ee1800..7dec5cf 100644 --- a/docs/user-defined-type-functions.md +++ b/docs/user-defined-type-functions.md @@ -82,7 +82,7 @@ Note: methods under a different type heading (ex: `Singleton`) imply that the me | Function Declaration | Return Type | Description | | ------------- | ------------- | ------------- | -| `getname()` | `table` | returns the name of self's class | +| `getname()` | `string` | returns the name of self's class | | `getparent()` | `lType` | returns lType userdata of self's parent |