Skip to main content

Class: AirportIcaoInputFormat

Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:10

Format for a 4-letter airport ICAO.

Implements

Constructors

Constructor

new AirportIcaoInputFormat(nullValueDisplay): AirportIcaoInputFormat

Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:12

Parameters

ParameterTypeDefault value
nullValueDisplaystring'□□□□□'

Returns

AirportIcaoInputFormat

Inherit Doc

Properties

format

format: FormatterFunction<string>

Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:16

Inherit Doc

Implementation of

Formatter.format


nullValueString

nullValueString: string

Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:17

The string to show when a value is null

Implementation of

Formatter.nullValueString


parse()

parse: (input) => string | Promise<string | null> | null

Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:14

Parameters

ParameterType
inputstring

Returns

string | Promise<string | null> | null

Inherit Doc

Implementation of

parse.__type