RosettaCodeData/Task/Empty-string/Bracmat/empty-string.bracmat
2023-07-01 13:44:08 -04:00

9 lines
214 B
Text

( :?a
& (b=)
& abra:?c
& (d=cadabra)
& !a: { a is empty string }
& !b: { b is also empty string }
& !c:~ { c is not an empty string }
& !d:~ { neither is d an empty string }
)