Class: FrequencyInputFormat
Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:164
Format for radio frequency.
Implements
FormatterValidator<string>
Constructors
Constructor
new FrequencyInputFormat(
nullValueDisplay,min?,max?):FrequencyInputFormat
Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:166
Parameters
| Parameter | Type | Default value |
|---|---|---|
nullValueDisplay | string | '□□□□□' |
min? | number | undefined |
max? | number | undefined |
Returns
FrequencyInputFormat
Inherit Doc
Properties
format
format:
FormatterFunction<string>
Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:170
Inherit Doc
Implementation of
FormatterValidator.format
nullValueString
nullValueString:
string
Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:171
The string to show when a value is null
Implementation of
FormatterValidator.nullValueString
parse()
parse: (
input) =>null|string|Promise<null|string>
Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:168
Parameters
| Parameter | Type |
|---|---|
input | string |
Returns
null | string | Promise<null | string>
Inherit Doc
Implementation of
FormatterValidator.parse