tal/luals/TAL/library/utils.lua

22 lines
385 B
Lua
Raw Permalink Normal View History

2025-02-06 00:30:52 +00:00
--- @meta
box = table.pack;
unbox = table.unpack;
exit = os.exit;
2025-02-06 16:09:07 +00:00
promise = require "promise";
2025-02-06 00:30:52 +00:00
--- @param box table
--- @param s? number
--- @param e? number
--- @return table
function rebox(box, s, e) end
--- Concatenates the arguments to a string
--- @return string
function str(...) end
---@generic T
---@param obj { [integer]: T }
---@return fun(): T
function iterate(obj) end