Navigation
Synopsis Check whether a string is empty.
Function bool isEmpty(str s)
Usage import String;
Description Returns true if string s is empty.
Examples
rascal>import String;
ok
rascal>isEmpty("");
bool: true
rascal>isEmpty("abc");
bool: false
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.