Type alias UnitFunctionDefinition<In, Out>
UnitFunctionDefinition<In, Out>: { fromUnit: ((x) => In); inputType?: (new (...args) => UnitValueType); outputType?: (new (...args) => UnitValueType); toUnit: ((x) => Out); unit: string; } Type declaration
fromUnit: ((x) => In)
Optional
inputType?: (new (...args) => UnitValueType)
Optional
outputType?: (new (...args) => UnitValueType)
toUnit: ((x) => Out)
unit: string
Target unit