docs: function toCsvValue(theValue, sDelimiter) {
      const t = typeof (theValue);
      let output,
          stringDelimiter
      ;
  
      if (typeof (sDelimiter) === "undefined" || sDelimiter === null)
          stringDelimiter = '"';
      else
          stringDelimiter = sDelimiter;
  
      if (t === "undefined" || t === null)
          output = '';
      else if (t === 'string')
          output = sDelimiter + theValue + sDelimiter;
      else
          output = String(theValue);
  
      return output;
  }