⚠️ This is pre-release documentation for v3. For stable docs, visit v2.
Skip to content

@tmlmt/cooklang-parser / IngredientAlternativesOnlyGroup

Interface: IngredientAlternativesOnlyGroup ​

Represents a quantity group for an ingredient that has no quantity of its own (e.g. @butter{}|@olive oil{2%tbsp}) but has alternatives.

Properties ​

alternatives ​

alternatives: AlternativeIngredientRef[][]

References to alternative ingredients, structured as in IngredientQuantityGroup.alternatives.