@tmlmt/cooklang-parser / Unit
Interface: Unit
Represents a unit used to describe quantities
Extended by
Properties
integerProtected?
optionalintegerProtected:boolean
This property is set to true when the unit is prefixed by an = sign in the cooklang file, e.g. =g Indicates that quantities with this unit should be treated as integers only (no decimal/fractional values).
name
name:
string