Skip to main content

Interface: Formatter<T, U>

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

NameType
TT
Ustring

Properties

format

format: (value: NonNullable<T>) => U

Formats a value of a type into a string

Param

the value to format

Type declaration

▸ (value): U

Formats a value of a type into a string

Parameters
NameTypeDescription
valueNonNullable<T>the value to format
Returns

U

Defined in

src/sdk/fmc/FmcFormat.ts:41


nullValueString

Optional nullValueString: U

The string to show when a value is null

Defined in

src/sdk/fmc/FmcFormat.ts:34