1.0.1 • Published 1 year ago

non-empty v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

non-empty

Check if the value is not empty.

Installation

npm install non-empty

Usage

import notEmpty from 'non-empty';

notEmpty(0); //  false
notEmpty(''); // false
notEmpty([]); // false
notEmpty({}); // false
notEmpty('0'); // true
notEmpty([1]); // true
1.0.1

1 year ago

1.0.0

1 year ago