Module:MultiRequire/doc

This module provides a function that makes calling multiple easy.

Loading the module
To load this module and make its method available for use, Add this line of code to the start of your module:

All methods described below will be available under the loaded table.

Alternatively, you can use this module using the code below by using Module:LoadLib.

Depending on the settings you used in, the methods of this module may be available under their respective variables in the module this module was loaded in.

Return function
This module returns a single function.

Parameters
Returns any values returned by are returned. If the input is a table, it returns a table. If variable length arguments are used, it returns the unpacked values. It will throw an error if the module is not found.

Examples

 * multiRequire('Module:String') → 
 * multiRequire{ 'Module:String', 'Module:Table' } → { ,  }