LuaMap: (new <K, V>() => LuaMap<K, V>) & LuaExtension<"TableNew">

A convenience type for working directly with a Lua table, used as a map.

This differs from LuaTable in that the get method may return nil. For more information see: https://typescripttolua.github.io/docs/advanced/language-extensions

Type declaration

Param

The type of the keys used to access the table.

Param

The type of the values stored in the table.

Generated using TypeDoc