code: function validateOptions(options) {
    if (_.isNil(options)) {
      return null;
    }
  
    if (!_.isPlainObject(options)) {
      return new TypeError('Expected `options` to be an object or not defined.');
    }
  
    if (!isOptionalIntAbove(options.time, 0)) {
      return new TypeError('Expected `options.time` to be an integer that is 0 or greater.');
    }
  
    if (!isOptionalIntAbove(options.count, 1)) {
      return new TypeError('Expected `options.count` to be an integer greater than 0.');
    }
  
    return null;
  }
docs: @private
  @description Performs validation on the #batch settings.
  
  @param   {Object} options - The options provided to #batch.
  
  @returns {Error|null} An error, if one is appropriate