@rojo2/is-empty-string

1.0.4 • Public • Published

Is empty string

Travis CI

import isEmptyString from "@rojo2/is-empty-string"

isEmptyString(""); // true
isEmptyString(" "); // true
isEmptyString(new String("")); // true
isEmptyString(null); // false
isEmptyString(undefined); // false
isEmptyString(1); // false
isEmptyString({}); // false
isEmptyString([]); // false

Made with ❤️ by ROJO 2 (http://rojo2.com)

Package Sidebar

Install

npm i @rojo2/is-empty-string

Weekly Downloads

0

Version

1.0.4

License

MIT

Unpacked Size

5.33 kB

Total Files

5

Last publish

Collaborators

  • aitormm
  • azazeln28