Easy, lightweight functions to help you solve 80% of your daily problems in JavaScript. The purpose of this functions is to you copy them to your project, not install as any other package and forgot his existence.
Don't! Please, clone this repo e add to your project to manage this functions or other you may need.
import isEmpty from 'amaze/validation/isEmpty';
if (isEmpty(value)) {
console.log('The value is empty');
} else {
console.log('The value is valid!');
}