Module:FunList/Enumerable: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

26 July 2024

  • curprev 19:3319:33, 26 July 2024Ricewind talk contribs 1,279 bytes +1,279 Created page with "-- Makes the class that inherits this enumerable with pairs and ipairs --- @class Enumerable local Enumerable = {} local Enumerable_mt = { __index = Enumerable, __pairs = Enumerable.getPairs, __ipairs = Enumerable.getiPairs } function Enumerable.new() local self = setmetatable({}, Enumerable_mt) return self end --- Enumerate all elements --- @param isArray? boolean --- @return Enumerator function Enumerable:getEnumerator(isArray) error("This method must be implem..."