10 lines
426 B
Lua
10 lines
426 B
Lua
---@diagnostic disable: missing-return, lowercase-global
|
|
---@meta
|
|
|
|
---@param t table
|
|
---@return function iterator
|
|
---@return table t
|
|
---@return number index
|
|
---Returns an iterator function for integer keys in a table. Return values are such that the construction for k,v in ipairs(t) do -- body end will iterate over the pairs 1,t[1], 2,t[2], etc, up to the first integer key absent from the table.
|
|
function ipairs(t) end
|