Jump to content

Module talk:table/maxIndex

Page contents not supported in other languages.
මාතෘකාවක් එක්කරන්න
Wiktionary වෙතින්
oldiddate/timeusernameedit summary
847578982025-05-09T17:20:47ZTheknightwhoUse table.maxn() if it's available.
845935982025-04-19T13:48:10ZTheknightwhostrict_types removed from is_positive_integer().
845596552025-04-15T14:23:41ZTheknightwho
845595502025-04-15T13:55:28ZTheknightwho
844786392025-04-06T12:17:48ZTheknightwhoProtected "[[Module:table/maxIndex]]": Highly visible template/module ([Edit=Allow only template editors and administrators] (indefinite) [Move=Allow only template editors and administrators] (indefinite))
844784212025-04-06T11:07:49ZTheknightwhoCreated page with "local math_module = "Module:math" local pairs = pairs local function is_positive_integer(...) is_positive_integer = require(math_module).is_positive_integer return is_positive_integer(...) end --[==[ Returns the highest positive integer index of a table or array that possibly has holes in it, or otherwise 0 if no positive integer keys are found. Note that this differs from `table.maxn`, which returns the highest positive numerical index, even if it is not an integer..."

Start a discussion about Module:table/maxIndex

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