isNotNullAndValid ( powerobject ref ) return boolean

The purpose of the isNotNullAndValid function is to propose a more concise alternative to the usual code used to check if a reference to an object's instance is still valid or not, like :

if not isnull( ref ) and is valid( ref ) then ... end if

by :

if #.IsNotNullAndValid( ref ) then
...
end if
}

Last edited May 14, 2015 at 11:11 PM by domangep, version 2