@tmlmt/cooklang-parser / AlternativeIngredientRef
Interface: AlternativeIngredientRef
Represents a reference to an alternative ingredient along with its quantities.
Used in IngredientQuantityGroup to describe what other ingredients could be used in place of the main ingredient.
Properties
index
index:
number
The index of the alternative ingredient within the Recipe.ingredients array.
quantities?
optionalquantities:QuantityWithPlainUnit[]
The quantities of the alternative ingredient. Multiple entries when units are incompatible.