Func Isobject
# 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)
| Parameter | Description |
| :--- | :--- |
| expression | Required. An expression. |
## Examples
## Example 1
Set x=document
document.write(IsObject(x))
The above example outputs:
True
[Try it Yourself Β»](#)
## Example 2
x="Peter"
document.write(IsObject(x))
The above example outputs:
False
[Try it Yourself Β»](#)
* * Complete VBScript Reference Manual](#)
YouTip