Checks if a variable or expression is an object type.
IsObj ( variable )
| variable | The variable/expression to check. |
| Success: | Returns 1 if expression is an object variable. |
| Failure: | Returns 0 if expression is not an object variable. |
Local $oShell = ObjCreate("shell.application")
If Not IsObj($oShell) Then
MsgBox(0, "Error", "$oShell is not an Object.")
Else
MsgBox(0, "Error", "Successfully created Object $oShell.")
EndIf