Namespace: hierarchy

Classes

Interfaces

Type Aliases

Filter

Ƭ Filter: string | RegExp


FilterArgs

Ƭ FilterArgs<T>: [] | [Matcher<T>] | [Filter] | [Type<T>] | [Type<T>, Filter]

Type parameters

Name
T

Type

Ƭ Type<T>: (…args: any[]) => T

Type parameters

Name
T

Type declaration

• (...args): T

Parameters
Name Type
...args any[]
Returns

T

Functions

getMatcher

getMatcher<T>(...args): Matcher<T>

Helper function to parse optional filter arguments into a Matcher interface.

Type parameters

Name
T

Parameters

Name Type Description
...args FilterArgs<T> An array of filter arguments

Returns

Matcher<T>