nil

← Reference
Io

nil is a singleton object that is used as a placeholder and to mean false in Io.

and(expression)

Returns nil without evaluating expression.

asJson

Returns "null".

catch

Does nothing, returns nil. See Exception catch.

clone

returns self since nil is a singleton.

else(expression)

Returns nil without evaluating expression.

ifNil(expression)

Evaluates message.

isNil

Returns Lobby.

justSerialized(stream)

Writes the receiver's code into the stream.

or(anObject)

Returns anObject if anObject is not nil. Otherwise returns nil.

pass

Does nothing, returns nil. See Exception pass.

print

Prints 'nil'. Returns self.

then(expression)

Returns nil without evaluating expression.