Page Contents
Home > @loopback/context > Getter > fromValue
Getter.fromValue() function
Convert a value into a Getter returning that value.
Signature:
function fromValue<T>(value: T): Getter<T>;
Parameters
Parameter | Type | Description |
---|---|---|
value | T |
Returns:
Getter<T>