overload strsplit

This commit is contained in:
2025-01-01 14:10:25 +01:00
parent 3629ac1e36
commit 4819dd8487

View File

@@ -2,7 +2,7 @@
---@param sep string ---@param sep string
---@param text string ---@param text string
---@param limit number?
---@return string ... ---@return string ...
---Splits a string based on another seperator string. Also available as string.split (though not provided by the Lua standard library). ---Splits a string based on another seperator string. Also available as string.split (though not provided by the Lua standard library).
---@overload fun(sep: string, text: string, limit: number): string ...
function strsplit(sep, text, limit) end function strsplit(sep, text, limit) end