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 Parameter | Default type |
|---|---|
T | - |
U | string |
Properties
format()
format: (
value) =>U
Defined in: src/sdk/fmc/FmcFormat.ts:41
Formats a value of a type into a string
Parameters
| Parameter | Type | Description |
|---|---|---|
value | NonNullable<T> | the value to format |
Returns
U
nullValueString?
optionalnullValueString:U
Defined in: src/sdk/fmc/FmcFormat.ts:34
The string to show when a value is null