Retrieves a module by matching its exported values against a string or regular expression.
Equivalent to getModule(filters.byValue(match), options).
getModule(filters.byValue(match), options)
The type of the module to be returned.
A string or regular expression to match the module's value.
Configuration options for the module retrieval.
The matching module(s) or raw module(s), or undefined if no match is found.
undefined
Optional
Retrieves a module by matching its exported values against a string or regular expression.
Equivalent to
getModule(filters.byValue(match), options).Template: T
The type of the module to be returned.
Param: match
A string or regular expression to match the module's value.
Param: options
Configuration options for the module retrieval.
Returns
The matching module(s) or raw module(s), or
undefinedif no match is found.See