ModifierInterface.getValue() method
Get the value of an option key, falling back to the default.
Signature:
getValue<K extends keyof TOptions>(key: K): TOptions[K];
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
K |
Returns:
TOptions[K]
Get the value of an option key, falling back to the default.
Signature:
getValue<K extends keyof TOptions>(key: K): TOptions[K];
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
K |
Returns:
TOptions[K]