docs: function padRight(val, len, offset, char) {
      /* istanbul ignore if */
      if (!is_1.isValue(val) || !is_1.isString(val))
          return null;
      // If offset is a string
      // count its length.
      if (is_1.isString(offset))
          offset = offset.length;
      char = char || ' ';
      while (len--) {
          val += char;
      }
      if (offset)
          val += padRight('', offset, null, char);
      return val;
  }