From 8ec04bc4e0b7dd1dd03ac4177ca6be6068e8e155 Mon Sep 17 00:00:00 2001 From: Junseo Yoo Date: Mon, 15 Jul 2024 16:19:31 -0700 Subject: [PATCH] Clarification to typelib.newfunction methods --- docs/user-defined-type-functions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/user-defined-type-functions.md b/docs/user-defined-type-functions.md index 464a9ba..9894351 100644 --- a/docs/user-defined-type-functions.md +++ b/docs/user-defined-type-functions.md @@ -163,9 +163,9 @@ All attributes of newly created typelib are initialized with empty tables / arra | Instance Methods | Return Type | Description | | ------------- | ------------- | ------------- | | `setparameters(arg: {typelib} \| typelib)` | `nil` | sets self's parameter types to the argument, where an array implies a TypePack and the latter implies a Variadic | -| `getparameters()` | `{typelib} \| typelib?` | returns the runtime representation of self's parameter type if it exists, else nil | +| `getparameters()` | `{typelib} \| typelib?` | returns the runtime representation of self's parameter type if it exists, else nil. Return an array implies a TypePack and a single value implies a Variadic | | `setreturns(arg: {typelib} \| typelib)` | `nil` | sets self's return types to the argument, where an array implies a TypePack and the latter implies a Variadic | -| `getreturns()` | `{typelib} \| typelib?` | returns the runtime representation of self's return type if it exists, else nil | +| `getreturns()` | `{typelib} \| typelib?` | returns the runtime representation of self's return type if it exists, else nil. Return an array implies a TypePack and a single value implies a Variadic | #### Union