RosettaCodeData/Task/Null-object/Clojure/null-object-1.clj

3 lines
67 B
Clojure

(let [x nil]
(println "Object is" (if (nil? x) "nil" "not nil")))