@rojo2/is-empty-string
v1.0.4
Published
Returns if a value is a string
Downloads
1
Readme
Is empty string
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 :heart: by ROJO 2 (http://rojo2.com)