lib/validation.helper.js
function booleanFalse(validatedObject, errorText) {
  if (!_.isBoolean(validatedObject) || validatedObject) {
    throw new ValidationError(errorText || 'Validated object is not False');
  }
  return validatedObject;
}
function booleanFalse(validatedObject, errorText) {
  if (!_.isBoolean(validatedObject) || validatedObject) {
    throw new ValidationError(errorText || 'Validated object is not False');
  }
  return validatedObject;
}
function booleanFalse ( validatedObject , errorText ) { if ( ! _ . isBoolean ( validatedObject ) || validatedObject ) { throw new ValidationError ( errorText || 'Validated object is not False' ) ; } return validatedObject ; }
Checks value to be a False boolean
@param {*} validatedObject
@param {String} [errorText] - message for error thrown if validation fails
@returns {boolean} validatedObject
Checks value to be a False boolean