Description
The IsObject() function returns a Boolean value that indicates whether the specified expression is an automation object. It returns True if expression is an automation object; otherwise, it returns False.
This function has the form:
IsObject(expression)
Parameter | Description |
---|---|
expression | (required) An expression |
Examples
The following examples show the basic use of this function:
Example 1
Set x=document
Msgbox(IsObject(x))
This produces the following result:
True
Example 2
x="Peter"
Msgbox(IsObject(x))
This produces the following result:
False
Miscellaneous Information
Supported in Version: | 1.0 |
---|