Skip to content

IsNull - Built-in Miscellaneous Function

Purpose

Returns a boolean indicating if the expression is Null.

Syntax

IsNull(exp)

Arguments

Argument Required Description
exp Yes Any valid expression

Returns

Variant with a variant (VT_BOOL) value

Example

Let sTest = "Test"

Return IsNull(sTest)

The above returns false.

Notes

  • Technically, the function returns true when the value of the variant variable with the contents of the expressions equals VT_NULL.
  • The return value conforms to the standards for variant datatypes