HOME HTML CSS JAVASCRIPT SQL PHP JQUERY XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

VBScript IsObject Function


VBScript Reference Complete VBScript Reference

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.

Syntax

IsObject(expression)

Parameter Description
expression Required. An expression

Examples

Example 1

<%

Set x=CreateObject("vbscript.regexp")
response.write(IsObject(x))

%>

The output of the code above will be:

True

Show Example »

Example 2

<%

x="Peter"
response.write(IsObject(x))

%>

The output of the code above will be:

False

Show Example »

VBScript Reference Complete VBScript Reference

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE