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