i2 Notebook SDK
Search results for

    Show/hide table of contents

    Home > @i2analyze/notebook-sdk > data > IFormatter > formatValueOrUndefined

    data.IFormatter.formatValueOrUndefined() method

    Formats a value as a string, or returns undefined if the value is undefined.

    Signature:

    formatValueOrUndefined(value: PropertyValue | undefined, options?: IFormattingOptions): string | undefined;
    

    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 | undefined

    A string representation of the formatted value, or undefined if value is undefined.

    In this article
    Back to top © N. Harris Computer Corporation