RosettaCodeData/Task/Empty-string/Clojure/empty-string.clj
Ingy döt Net 764da6cbbb CDE
2013-04-10 16:57:12 -07:00

6 lines
215 B
Clojure

(def x "") ;x is "globally" declared to be the empty string
(let [x ""]
;x is bound to the empty string within the let
)
(= x "") ;true if x is the empty string
(not= x "") ;true if x is not the empty string