Open
Description
Input:
---@meta
---@class CallAsTeamOptions
---@field ctrl integer Ctrl team ID.
---@field read integer Read team ID.
---@field select integer Read team ID.
local CallAsTeamOptions = {}
---@param teamID integer Team ID.
---@param func fun(...) The function to call.
---@param ... any Arguments to pass to the function.
---@return any ... The return values of the function.
function CallAsTeam(teamID, func, ...) end
---@param options CallAsTeamOptions Options.
---@param func fun(...) The function to call.
---@param ... any Arguments to pass to the function.
---@return any ... The return values of the function.
function CallAsTeam(options, func, ...) end
Output:
# global CallAsTeam
```lua
function CallAsTeam(
teamID: integer,
func: fun(...),
...: any
) -> The any...
```
@param `teamID` - Team ID.
@param `func` - The function to call.
@param `...` - Arguments to pass to the function.
@return `The` - return values of the function.