%s:STRING% (is|is not) empty
Checks if a string is or is not empty.
if myVar is empty:
if myVar is not empty:
Every distinct way you can write this pattern, with optional groups and choice groups expanded. Placeholders are shown as <name>.
<s> is empty
<s> is not empty
%a:STRING% (is|equals|is not|does not equal) %b:QSTRING%
%a:STRING% (is|equals) exactly %b:QSTRING%
%a:STRING% (contains|does not contain) %b:QSTRING%
%a:STRING% starts with %b:QSTRING%
%a:STRING% ends with %b:QSTRING%
length of %s:STRING% %op:OP% %n:INT%
%a:STRING% matches %b:QSTRING%
%a:STRING% (is|equals) true
%a:STRING% (is|equals) false