Documentation / @ripl/utilities / functionProduce
Function: functionProduce() ​
functionProduce<
TValue>(value): () =>TValue
Defined in: function.ts:34
Wraps a value or factory function into a consistent factory that always returns the value.
Type Parameters ​
| Type Parameter |
|---|
TValue |
Parameters ​
| Parameter | Type |
|---|---|
value | TValue | () => TValue |
Returns ​
():
TValue
Returns ​
TValue