isempty — Returns whether the string s is empty.
s
boolean isempty (
)
String
Emptiness of string s
Notice that the string s must not be nil.
isempty("") -> true isempty("test") -> false