Skip to content

isEmpty

isEmpty(target)

Checks if target string is empty.

ts
isEmpty(""); // true
isEmpty("hello"); // false
ts
pipe("", isEmpty()); // true
pipe("hello", isEmpty()); // false