mimekit-ts - v1.0.0
    Preparing search index...

    Function appendQuoted

    • Quote text and append it to an array builder.

      Encloses the text in double quotes and escapes any backslashes and double-quotes within it.

      Parameters

      • builder: string[]

        String array builder.

      • text: string

        Text to quote.

      Returns string[]

      The same builder.

      builder or text is null or undefined.

    • Quote text and append it to an object builder.

      Parameters

      • builder: { append(value: string): unknown }

        Builder with an append() method.

      • text: string

        Text to quote.

      Returns { append(value: string): unknown }

      The same builder.

      builder or text is null or undefined.