Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

VBScript IsEmpty Function

VBScript IsEmpty Function


VBScript reference manual Complete VBScript Reference Manual


The IsEmpty function returns a Boolean value indicating whether the specified variable has been initialized. It returns True if the variable is uninitialized, otherwise it returns False.

Syntax

IsEmpty(expression)

Parameters Description
expression Required. An expression (usually a variable name).

Example

Example

The example above produces the following output:

True

False

True

False

Try it »


VBScript reference manual Complete VBScript Reference Manual