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): AnyProps

Parameters

NameTypeDescription
...argsT

The prototype method names to search for, optionally followed by options.

Returns

AnyProps

The matched module.