Jump to content

Module:utilities/require when needed/documentation

Wiktionary වෙතින්

A helper function which can be used in place of require if it's not certain that the module in question will be needed. If the module has already been loaded, then it is simply returned; if it hasn't, then it won't be loaded until it is first used.

This is generally useful when defining variables at the start of a module.


"https://si.wiktionary.org/w/index.php?title=Module:utilities/require_when_needed/documentation&oldid=164353" වෙතින් සම්ප්‍රවේශනය කෙරිණි