I want to write a function which returns either an object if it can, or a null object if it can’t. The AOO wiki seems to be silent on the subject - the language definition waxes lyrical about how object-oriented it is, but does not even mention objects. Other pages tell me how to create objects, but nothing about the null object.
Can this be done? It should be simple, and is in properly OO languages which have the concept built-in.