Class: AirspeedMachInputFormat
Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:32
Format for a mach airspeed input.
Implements
FormatterValidator<number>
Constructors
Constructor
new AirspeedMachInputFormat(
nullValueDisplay):AirspeedMachInputFormat
Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:34
Parameters
| Parameter | Type | Default value |
|---|---|---|
nullValueDisplay | string | '□□□' |
Returns
AirspeedMachInputFormat
Inherit Doc
Properties
format
format:
FormatterFunction<number>
Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:38
Inherit Doc
Implementation of
FormatterValidator.format
nullValueString
nullValueString:
string
Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:39
The string to show when a value is null
Implementation of
FormatterValidator.nullValueString
parse()
parse: (
input) =>null|number|Promise<null|number>
Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:36
Parameters
| Parameter | Type |
|---|---|
input | string |
Returns
null | number | Promise<null | number>
Inherit Doc
Implementation of
FormatterValidator.parse