Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});

const validateIsEmpty = inputStateList => {
  return inputStateList.every(inputState => {
    if (inputState.type === 'select') {
      return inputState.value === '' || inputState.value === inputState.label;
    } else {
      return inputState.value === '';
    }
  });
};

exports.validateIsEmpty = validateIsEmpty;