Skip to main content

Interface: Formatter<T, U>

Defined in: src/sdk/fmc/FmcFormat.ts:30

Formats a non-nullable value of a type T into a value of a type U, with the ability to specify a null value

Type Parameters

Type ParameterDefault type
T-
Ustring

Properties

format()

format: (value) => U

Defined in: src/sdk/fmc/FmcFormat.ts:41

Formats a value of a type into a string

Parameters

ParameterTypeDescription
valueNonNullable<T>the value to format

Returns

U


nullValueString?

optional nullValueString: U

Defined in: src/sdk/fmc/FmcFormat.ts:34

The string to show when a value is null