Module:FunList/Sandbox/doc: Difference between revisions

(Remove .new function from docs. This is only for internal use.)
Line 7: Line 7:
</syntaxhighlight>
</syntaxhighlight>


<syntaxhighlight lang="lua">
---@param obj any
---@param iterator fun (such as ipairs / pairs)
---@return Enumerator3
function Enumerator3.createWith(obj, iterator)
</syntaxhighlight>
=== ipairs ===
=== ipairs ===
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
2,875

edits