Anonymous

Module:FunList/Sandbox/doc: Difference between revisions

From Melvor Idle
Line 295: Line 295:
---@param self Enumerator3
---@param self Enumerator3
---@return number
---@return number
function Enumerator3:max()
function Enumerator3.max(self)
</syntaxhighlight>
</syntaxhighlight>


Line 304: Line 304:
---@param selector fun(item: any, index: any): number
---@param selector fun(item: any, index: any): number
---@return unknown
---@return unknown
function Enumerator3:maxBy(selector)
function Enumerator3.maxBy(self, selector)
</syntaxhighlight>
</syntaxhighlight>


Line 312: Line 312:
---@param self Enumerator3
---@param self Enumerator3
---@return number
---@return number
function Enumerator3:min()
function Enumerator3.min(self)
</syntaxhighlight>
</syntaxhighlight>


Line 321: Line 321:
---@param selector fun(item: any, index: any): number
---@param selector fun(item: any, index: any): number
---@return unknown
---@return unknown
function Enumerator3:minBy(selector)
function Enumerator3.minBy(self, selector)
</syntaxhighlight>
</syntaxhighlight>


Line 329: Line 329:
---@param self Enumerator3
---@param self Enumerator3
---@return number
---@return number
function Enumerator3:sum()
function Enumerator3.sum(self)
</syntaxhighlight>
</syntaxhighlight>


2,875

edits