The Nil Object

In the SmalltalkLanguage, "nil" is used to represent "no object."

It is...

Class Object defines an "isNil" method that answers (returns) false. UndefinedObject defined an "isNil" method that answers true.


See also WhatIsNull, TheNilObjectInStronglyTypedLanguages


CategoryNull