docs: function randomInteger(min, max) {
      if ((0, _is.isUndefined)(min)) {
          throw new Error('no arguments');
      }
      if ((0, _is.isUndefined)(max)) {
          max = min;
          min = 0;
      } else if (!(0, _is.isType)('integer', min) || !(0, _is.isType)('integer', max)) {
          throw new Error('arguments were not expected');
      }
      min = Number(min);
      max = Number(max);
      var difference = max - min;
      var random = Math.floor(Math.random() * (difference + 1));
      return min + random;
  }