Type alias LuaTableDelete<TTable, TKey>

LuaTableDelete<TTable, TKey>: ((table, key) => boolean) & LuaExtension<"TableDelete">

Calls to functions with this type are translated to table[key] = nil. 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.

Type declaration

    • (table, key): boolean
    • Parameters

      • table: TTable
      • key: TKey

      Returns boolean

Generated using TypeDoc