[checked revision] | [checked revision] |
No edit summary Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
(One intermediate revision by the same user not shown) | |||
Line 9: | Line 9: | ||
-- You may then call functions from this module in your script. For example: | -- You may then call functions from this module in your script. For example: | ||
local tableLength = Utils.tableLen(myTable)</syntaxhighlight> | local tableLength = Utils.tableLen(myTable)</syntaxhighlight> | ||
<includeonly>[[Category:Modules]]</includeonly> | |||
<noinclude>[[Category:Module Docs]]</noinclude> |
Latest revision as of 12:53, 20 May 2024
Description[edit source]
This module provides utility functions used from other modules.
Usage[edit source]
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)