The function jobject-of-class-p
takes a Java object and a Java class specification, and returns true if the object is an instance of this class or any of its subclasses.
class-spec must be either a class specifier that find-java-class accepts, or a Java class, that is a Jobject
of class java.lang.Class
. The Java class may be an interface, in which case the result verifies whether the object implements the interface.
LispWorks User Guide and Reference Manual - 20 Sep 2017