Persistate API documentation
IsEmptyOrNull Method (obj)

[This is preliminary documentation and is subject to change.]

Determines whether a object is either null or an empty object.
Declaration Syntax
public static bool IsEmptyOrNull(
	Persistent obj
obj (Persistent)
The object to test.
Return Value
True if the object is either null or an Empty object.

Each ObjectClass has it's own Empty object. This method tests whether the given object is either null or the class EmptyObject.

Setting an object to empty is useful in some circumstances where a null value can cause an error. This can happen especially where an object is bound to a control on a form.

Assembly: Persistate (Module: Persistate) Version: (