• Stringify an item, returning an empty string on error, null, or undefined.

    Type Parameters

    • T

    Parameters

    • value: T

      The value to be stringified.

    • Optional options: SafeStringifyOptions

      Options to modify the output.

    Returns string

    The stringified value or the default value.

  • Stringify an item, returning an empty string on error, null, or undefined.

    Type Parameters

    • T

    Parameters

    • value: T

      The value to be stringified.

    • Optional defaultValue: string

      The default value to return if the value is null, undefined, or not stringifiable.

    Returns string

    The stringified value.

Generated using TypeDoc