Repository URL to install this package:
|
Version:
2.1.0 ▾
|
const validateIsEmpty = inputStateList => {
return inputStateList.every(inputState => {
if (inputState.type === 'select') {
return inputState.value === '' || inputState.value === inputState.label
} else {
return inputState.value === ''
}
})
}
export { validateIsEmpty }