Jump to content

Module talk:table/sparseIpairs

Page contents not supported in other languages.
මාතෘකාවක් එක්කරන්න
Wiktionary වෙතින්
oldiddate/timeusernameedit summary
844776482025-04-06T07:31:07ZTheknightwhoProtected "[[Module:table/sparseIpairs]]": Highly visible template/module ([Edit=Allow only template editors and administrators] (indefinite) [Move=Allow only template editors and administrators] (indefinite))
844776472025-04-06T07:30:58ZTheknightwhoCreated page with "local table_num_keys_module = "Module:table/numKeys" local function num_keys(...) num_keys = require(table_num_keys_module) return num_keys(...) end --[==[ An iterator which works like `ipairs`, but which works for sparse arrays.]==] return function(t) local keys, i = num_keys(t), 0 return function() i = i + 1 local k = keys[i] if k ~= nil then return k, t[k] end end end"

Start a discussion about Module:table/sparseIpairs

Start a discussion
"https://si.wiktionary.org/w/index.php?title=Module_talk:table/sparseIpairs&oldid=221495" වෙතින් සම්ප්‍රවේශනය කෙරිණි