VBScript » Functions » IsEmpty

Version: 1.0

Syntax:
IsEmpty(variant)

The IsEmpty function returns True when passed a Variant that has been declared but not initialized. It returns False in all other cases.

Examples

Code:
<% =IsEmpty(notbeen) %>
Output:
True
Language(s): VBScript
Code:
<% =IsEmpty("This is a string.") %>
Output:
False
Language(s): VBScript

See Also: