Refactor API functions to improve parameter aliasing and enhance documentation clarity
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user