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
Name | Type |
---|---|
T | T |
U | string |
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
Name | Type | Description |
---|---|---|
value | NonNullable <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