@tmlmt/cooklang-parser / formatExtendedQuantity
Function: formatExtendedQuantity()
formatExtendedQuantity(
item,unitOrder?):string
Format a QuantityWithExtendedUnit to a string.
Parameters
item
The quantity with extended unit to format
unitOrder?
"quantity-first" | "unit-first"
Returns
string
The formatted string