F
findByPrototypes
Finds a module whose prototype exposes all of the given method names. Lazy unless { lazy: false } is passed: the search runs on first access.
function findByPrototypes<U extends string, T extends U[] | MetroStringFindWithOptions<U, MetroSearchOptions> | MetroBulkFind<U>>(...args: T): AnyPropsParameters
| Name | Type | Description |
|---|---|---|
| ...args | T | The prototype method names to search for, optionally followed by options. |
Returns
AnyPropsThe matched module.