Skip to content
Turtle Kitty edited this page Aug 9, 2015 · 5 revisions

null

null is the absence of value.

predicate

(null? x)

(null? null) -> true
(null? ...anything else..) -> false

messages

x.to-bool -> false

x.to-text -> "null"

x.apply -> (throws an error)

null responds to every other message with itself - null.

Clone this wiki locally