API reference@siftline/coreFunctions
defineRecipe
function defineRecipe<Q>(input): Recipe<Q>;Returns the object it built, not parse's copy, whose type is the erased Recipe.
Type Parameters
| Type Parameter |
|---|
Q extends Questions |
Parameters
| Parameter | Type |
|---|---|
input | DefineRecipeInput<Q> |
Returns
Recipe<Q>