RosettaCodeData/Task/Empty-string/Zkl/empty-string.zkl

4 lines
102 B
Plaintext

s:=""; // or s:=String, String is the object ""
s.toBool() //-->False
if (s) println("not empty")