Libertas OS API Documentation
    Preparing search index...

    Type Alias LuaIterable<TValue, TState>

    LuaIterable: Iterable<TValue> & LuaIterator<TValue, TState> & LuaIterationExtension<
        "Iterable",
    >

    Represents a Lua-style iteratable which iterates single values in a for...in loop (ex. for x in iter() do). For more information see: https://typescripttolua.github.io/docs/advanced/language-extensions

    Type Parameters

    • TValue

      The type of value returned each iteration. If this is LuaMultiReturn, multiple values will be returned each iteration.

    • TState = undefined

      The type of the state value passed back to the iterator function each iteration.