Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

VBScript IsObject Function

VBScript IsObject Function


VBScript reference manual 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 »


VBScript reference manual Complete VBScript Reference Manual