Refactor API functions to improve parameter aliasing and enhance documentation clarity

This commit is contained in:
2025-05-18 15:03:21 +02:00
parent b595bc5573
commit cbed6108ef
22 changed files with 165 additions and 170 deletions

View File

@@ -1,9 +1,8 @@
---@diagnostic disable: missing-return, lowercase-global
---@meta
---@param index number
---@param # string
---@param ... list
---@return list ...
---Returns one or more values from a list (...), or the number of values in a list
function select(index, #, ...) end
---@param index number|"#"
---@param ... any
---@return ... any
---Returns one or more values from a list (...) (if using index), or the number of values in a list (if using #)
function select(index, ...) end