@yookue/ts-lang-utils
    Preparing search index...

    Function quoteDouble

    • Returns a string that double quotes the given text

      Parameters

      • Optionaltext: null | string

        the text to inspect

      Returns undefined | null | string

      a string that double quotes the given text

      David Hsing

      quoteSingle(undefined);    // undefined
      quoteSingle('foobar'); // '"foobar"'