isStringEmpty
Checks if given string is empty or not.
- import the method
import { isStringEmpty } from "nodelpers";
- params
str: string;
- usage
isStringEmpty(""); // true
isStringEmpty(" "); // true
isStringEmpty(" kite"); // false
Checks if given string is empty or not.
import { isStringEmpty } from "nodelpers";
str: string;
isStringEmpty(""); // true
isStringEmpty(" "); // true
isStringEmpty(" kite"); // false