Type alias LuaTableSet<TTable, TKey, TValue>

LuaTableSet<TTable, TKey, TValue>: ((table, key, value) => void) & LuaExtension<"TableSet">

Calls to functions with this type are translated to table[key] = value. For more information see: https://typescripttolua.github.io/docs/advanced/language-extensions

Type Parameters

  • TTable extends AnyTable

    The type to access as a Lua table.

  • TKey extends AnyNotNil

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

  • TValue

    The type of the value to assign to the table.

Type declaration

    • (table, key, value): void
    • Parameters

      • table: TTable
      • key: TKey
      • value: TValue

      Returns void

Generated using TypeDoc