InstanceOf

InstanceOf[javaobject, javaclass]
gives True if javaobject is an instance of the class or interface javaclass, or a subclass. Otherwise, it returns False.

InstanceOf[javaobject, "classname"]
gives True if javaobject is an instance of the named class or interface, or a subclass.

DetailsDetails

New to Mathematica? Find your learning path »
Have a question? Ask support »