Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

JCI_IsInstanceOf

This function checks whether an object is an instance of a class.
It is equivalent to the JNI function IsInstanceOf.


Call

CALL 'JCI_IsInstanceOf' USING obj cObj

obj

Instance object

cObj

Class object


Arguments

obj

Data field of the type JCI-object
Object which is to be checked. If obj is JCI-NULL, it is an instance of every class.

cObj

Data field of the type JCI-object
Class which is to be checked for.


Return value (RETURN-CODE)

JCI-RET-TRUE

obj is an instance of cObj.

JCI-RET-FALSE

obj is not an instance of cObj.

JCI-RET-ENOVM

No Java VM has been started.

JCI-RET-ENULLOBJ

cObj is JCI-NULL.

JCI-RET-EARGUMENT

cObj is not a class object.