Fix strtrim
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
---@diagnostic disable: missing-return, lowercase-global
|
---@diagnostic disable: missing-return, lowercase-global
|
||||||
|
|
||||||
---@param str string
|
---@param str string
|
||||||
---@param trimChars string
|
|
||||||
---@return string text
|
---@return string text
|
||||||
---Trims leading and trailing characters (whitespace by default) from a string. Also available as string.trim (though not provided by the Lua standard library).
|
---Trims leading and trailing characters (whitespace by default) from a string. Also available as string.trim (though not provided by the Lua standard library).
|
||||||
|
---@overload fun(str: string, trimChars: string)
|
||||||
function strtrim(str, trimChars) end
|
function strtrim(str, trimChars) end
|
Reference in New Issue
Block a user