Skip to content

isEmpty

isEmpty(s): boolean

Defined in: Data/Str.ts:153

Returns true when the string is empty.

string

boolean

pipe("", Str.isEmpty);   // true
pipe("hi", Str.isEmpty); // false