[checked revision] | [checked revision] |
No edit summary Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
Line 10: | Line 10: | ||
local tableLength = Utils.tableLen(myTable)</syntaxhighlight> | local tableLength = Utils.tableLen(myTable)</syntaxhighlight> | ||
<includeonly>[[Category: | <includeonly>[[Category:Modules]]</includeonly> | ||
<noinclude>[[Category:Module Docs]]</noinclude> | <noinclude>[[Category:Module Docs]]</noinclude> |
Revision as of 11:53, 20 May 2024
Description
This module provides utility functions used from other modules.
Usage
Add the following line of code at the top of your file.
local Utils = require("Module:Utils")
-- You may then call functions from this module in your script. For example:
local tableLength = Utils.tableLen(myTable)