Module:Utils/doc: Difference between revisions

Ganaram inukshuk (talk | contribs)
No edit summary
Ganaram inukshuk (talk | contribs)
mNo edit summary
Line 4: Line 4:
Namely, the functions in this module can be called from other modules by using <code>require("Module:Utils")</code> and calling the desired functions.
Namely, the functions in this module can be called from other modules by using <code>require("Module:Utils")</code> and calling the desired functions.


If there are two functions of of the same name that differ by a single leading underscore (for example, <code>gcd</code> and <code>_gcd</code>), the function ''with'' an underscore is meant to be called by other modules, and the function ''without'' an underscore can be used with <code>#invoke</code>.
For pairs of functions with names that differ by a single leading underscore (for example, <code>gcd</code> and <code>_gcd</code>), the function ''with'' an underscore is meant to be called by other modules, and the function ''without'' an underscore can be used with <code>#invoke</code>.
{{module introspection}}
{{module introspection}}
{{todo|inline=1|expand|comment=add back function descriptions}}
{{todo|inline=1|expand|comment=add back function descriptions}}
}}
}}