Vinyl
    Preparing search index...

    Function stringifyForPrint

    • Stringifies a value suitable for human-readable messages.

      The value is first run through toJson which makes it safe for serialization. (Circular references will become strings, and toJSON serializers will be respected) The safe json is then stringified, using a JSON.stringify replacer that preserves representations for NaN, Infinity, undefined, and Symbol.

      Parameters

      • value: any

        Any value.

      • OptionalmaxLength: number

        If provided, will truncate the final string.

      • indicator: string = '…'

        The truncation indicator.

      Returns string