function validateMinWorkers(minWorkers) {
  if (!isNumber(minWorkers) || !isInteger(minWorkers) || minWorkers < 0) {
    throw new TypeError('Option minWorkers must be an integer number >= 0');
  }
}
Ensure that the minWorkers option is an integer >= 0
@param {*} minWorkers
@returns {boolean} returns true when minWorkers has a valid value