- getByValue<T>(match, options?): T | undefined
Parameters
- match: string | RegExp
Optional
options: {
all?: false;
raw?: false;
}Optional
all?: false
Optional
raw?: false
Returns T | undefined
- getByValue<T>(match, options): T[]
Parameters
- match: string | RegExp
- options: {
all: true;
raw?: false;
}all: true
Optional
raw?: false
Returns T[]
- getByValue<T>(match, options): RawModule<T> | undefined
Parameters
- match: string | RegExp
- options: {
all?: false;
raw: true;
}Optional
all?: false
raw: true
Returns RawModule<T> | undefined
- getByValue<T>(match, options): RawModule<T>[]
Parameters
- match: string | RegExp
- options: {
all: true;
raw: true;
}
- getByValue<T>(match, options): T | T[] | undefined
Parameters
- match: string | RegExp
- options: {
all: boolean;
raw?: false;
}all: boolean
Optional
raw?: false
Returns T | T[] | undefined
- getByValue<T>(match, options): RawModule<T> | RawModule<T>[]
Parameters
- match: string | RegExp
- options: {
all: boolean;
raw: true;
}
- getByValue<T>(match, options): T | RawModule<T> | undefined
Parameters
- match: string | RegExp
- options: {
all?: false;
raw: boolean;
}Optional
all?: false
raw: boolean
Returns T | RawModule<T> | undefined
- getByValue<T>(match, options): T[] | RawModule<T>[]
Parameters
- match: string | RegExp
- options: {
all: true;
raw: boolean;
}
- getByValue<T>(match, options?):
| T
| T[]
| RawModule<T>
| RawModule<T>[]
| undefined Parameters
- match: string | RegExp
Optional
options: {
all?: boolean;
raw?: boolean;
}Optional
all?: boolean
Optional
raw?: boolean
Equivalent to
getModule(filters.byValue(match), options)
Param: match
The string to check the value against
See
filters.byValue