constructor Method

Constructor

ParserSpec(outUnit: UnitProps, format: Format, conversions: UnitConversionSpec[]): ParserSpec

Parameter Type Description
outUnit UnitProps The name of a format specification.
format Format Defines the output format for the quantity value.
conversions UnitConversionSpec[] An array of conversion factors necessary to convert from an input unit to the units specified in the format..

Returns - ParserSpec

Defined in

Last Updated: 21 November, 2024