Skip to content
codewellPublic

About

Check whether objects, arrays, strings etc. are empty or not.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

Repository files navigation

@codewell/is-empty

Installation

npm install @codewell/is-empty

Basic usage

import isEmpty from '@codewell/is-empty';

isEmpty([]); // => true
isEmpty(''); // => true
isEmpty({}); // => true

isEmpty(['foo']); // => false
isEmpty('foo'); // => false
isEmpty({ foo: 'bar' }); // => false

About

Check whether objects, arrays, strings etc. are empty or not.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages