Jump to content

မေႃႇၵျူး:table/doc

လုၵ်ႉတီႈ ဝိၵ်ႇသျိၼ်ႇၼရီႇ မႃး

This is the documentation page for မေႃႇၵျူး:table

This module provides functions for dealing with Lua tables. All of them, except for two helper functions, take a table as their first argument.

Some functions are available as methods in the arrays created by Module:array.

Functions by what they do:

  • Create a new table:
  • Create an array:
  • Return information about the table:
  • Treat the table as an array (that is, operate on the values in the array portion of the table: values indexed by consecutive integers starting at 1):
  • Treat a table as a sparse array (that is, operate on values indexed by non-consecutive integers):
  • Generate an iterator:
  • Other:

The original version was a copy of Module:TableTools on Wikipedia via Module:TableTools on Commons, but new functions have been added since then.