Home > @i2analyze/notebook-sdk > data > IFormatter > formatValueOrFallback
data.IFormatter.formatValueOrFallback() method
Formats a value as a string, falling back to localized "No value" text if the value is undefined
.
Signature:
formatValueOrFallback(value: PropertyValue | undefined, options?: IFormattingOptions): string;
Introduced: version 1.0
Parameters
Parameter | Type | Description |
---|---|---|
value | PropertyValue | undefined | The value to format. |
options | IFormattingOptions | (Optional) A set of options that control some aspects of the format. |
Returns:
string
A string representation of the formatted value.