docs: function splitToObj(str, delim) {
      if (!(_.isString(str))) {
          throw new Error(`Input must be a string: ${str}`);
      }
      else {
          return util_1.convertToObject(str.split(delim), () => true);
      }
  }