RosettaCodeData/Task/Empty-string/Sidef/empty-string-2.sidef

6 lines
61 B
Plaintext

s == "";
s.length == 0;
s.is_empty;
s ~~ /^\z/;
s ~~ /\A\z/;