IsNull

Determine whether a given value or variable reference is null.

Method Signature

IsNull(object=[any])

Arguments

Argument
Type
Required
Description
Default

object

any

true

Value to test for null.

Examples

isNull Example

Returns true if the given object is null or the given expressions evaluates to null; Returns false is otherwise.

Run Example

isNull( javaCast( "null", "" ) );

Result: true

Additional Examples

v1 = "test";
writeDump( isnull( v1 ) ); // false
v2; // Defining empty variable or v2=nullValue();
writeDump( isnull( v2 ) );
 // true

Last updated

Was this helpful?