VBScript IsObject Function
Complete VBScript Reference Manual
The IsObject function returns a Boolean value indicating whether the specified expression is an automation object. It returns True if the expression is an automation object, otherwise it returns False.
Syntax
IsObject(expression)
| Parameters | Description |
|---|---|
| expression | Required. An expression. |
Example
Example 1
The example above produces the following output:
True
Try it »
Example 2
The example above produces the following output:
False
Try it »
Complete VBScript Reference Manual