Skip to content

@tmlmt/cooklang-parser / QuantityPart

Interface: QuantityPart ​

Represents a contributor to an ingredient's total quantity

Extends ​

  • Quantity

Properties ​

scalable ​

scalable: boolean

  • If true, the quantity will scale
  • If false, the quantity is fixed

unit? ​

optional unit: string

Inherited from ​

Quantity.unit


value ​

value: FixedValue | Range

Inherited from ​

Quantity.value