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

@tmlmt/cooklang-parser / formatExtendedQuantity

Function: formatExtendedQuantity()

formatExtendedQuantity(item): string

Format a QuantityWithExtendedUnit to a string.

Parameters

item

QuantityWithExtendedUnit

The quantity with extended unit to format

Returns

string

The formatted string