not-empty

1.1.2 • Public • Published

Not empty

Small lib

NPM

NPM version Downloads

Install

npm i -S not-empty

Usage

import notEmpty from 'not-empty';

notEmpty(0, 'string', true, [1, 2, 4]); // true
notEmpty(0, '', true, [1, 2, 4]); // false
notEmpty(0, 'string', true, [], {}); // false
notEmpty(0, 'string', true, [23, 45], { test: true }); // true

Readme

Keywords

none

Package Sidebar

Install

npm i not-empty

Weekly Downloads

0

Version

1.1.2

License

MIT

Last publish

Collaborators

  • alexfoxjs
  • zular