Type alias LuaTableAddKeyMethod<TKey>

LuaTableAddKeyMethod<TKey>: ((key) => void) & LuaExtension<"TableAddKeyMethod">

Calls to methods with this type are translated to table[key] = true, where table is the object with the method. For more information see: https://typescripttolua.github.io/docs/advanced/language-extensions

Type Parameters

  • TKey extends AnyNotNil

    The type of the key to use to access the table.

Type declaration

    • (key): void
    • Parameters

      • key: TKey

      Returns void

Generated using TypeDoc