Lua: Set string as metatable of string values, allowing for strVal:upper() style invocations

This commit is contained in:
Zef Hemel
2025-02-09 11:06:15 +01:00
parent 49b8a0f7dc
commit 654151437c
4 changed files with 124 additions and 52 deletions
-1
View File
@@ -75,7 +75,6 @@ export const tableApi = new LuaTable({
* @returns The keys of the table.
*/
keys: new LuaBuiltinFunction((_sf, tbl: LuaTable | LuaEnv) => {
console.log("Keys", tbl);
return tbl.keys();
}),
/**