YouTip LogoYouTip

Func Isempty

# VBScript IsEmpty Function * * 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) | Parameter | Description | | :--- | :--- | | expression | Required. An expression (usually a variable name). | ## Example ## Example Dim x document.write(IsEmpty(x) & "
") x=10 document.write(IsEmpty(x) & "
") x=Empty document.write(IsEmpty(x) & "
") x=Null document.write(IsEmpty(x)) The above example outputs: True False True False [Try it yourself Β»](#) * * Complete VBScript Reference Manual](#)
← Func IsnullFunc Getlocale β†’