Array.IsNull

Parent Previous Next

Array.IsNull.

Verifies whether an array variable points to an object instance in memory. Returns true if the array variable is Null and points to nothing. Otherwise returns false.


Syntax.


 IsNull() : Boolean

 



Example:


 Integer A[] := [0, 1, 2], B[];

 Boolean hasObj;

 hasObj := Not A[].IsNull(); //Now hasObj == True;

 hasObj := Not B[].IsNull(); //Now hasObj == False;