Libertas OS API Documentation
    Preparing search index...

    Interface LuaTable<TKey, TValue>

    A convenience type for working directly with a Lua table. For more information see: https://typescripttolua.github.io/docs/advanced/language-extensions

    interface LuaTable<TKey extends AnyNotNil = AnyNotNil, TValue = any> {
        __tstlIterable: "Pairs";
        delete: LuaTableDeleteMethod<TKey>;
        get: LuaTableGetMethod<TKey, TValue>;
        has: LuaTableHasMethod<TKey>;
        length: LuaLengthMethod<number>;
        set: LuaTableSetMethod<TKey, TValue>;
    }

    Type Parameters

    • TKey extends AnyNotNil = AnyNotNil

      The type of the keys used to access the table.

    • TValue = any

      The type of the values stored in the table.

    Hierarchy (View Summary)

    Index

    Properties

    __tstlIterable: "Pairs"
    length: LuaLengthMethod<number>