Retrieves a module(s) by their properties.
Equivalent to getModule(filters.byProps(...props), options).
getModule(filters.byProps(...props), options)
The type of the module(s) being retrieved.
The type of the property keys being searched for.
Either an array of property keys to search for, or an array containing the property keys and an optional configuration object.
The module(s) or processed exports that match the specified properties, or undefined if no match is found.
undefined
Optional
Retrieves a module(s) by their properties.
Equivalent to
getModule(filters.byProps(...props), options).Template: T
The type of the module(s) being retrieved.
Template: P
The type of the property keys being searched for.
Param: args
Either an array of property keys to search for, or an array containing the property keys and an optional configuration object.
Returns
The module(s) or processed exports that match the specified properties, or
undefinedif no match is found.See