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 15, 2015 at 12:11 AM by domangep, version 2