The predicate for whether a Java object is an instance of a given Java class.
lw-ji
jobject-of-class-p object class-spec => result
| object⇩ |
A Java object. |
| class-spec⇩ |
A class specifier that find-java-class accepts or a Java class. |
| result |
A generalized boolean. |
The function jobject-of-class-p returns true if object is an instance of the class specified by class-spec or any of its subclasses; nil is returned otherwise.
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.
jobject
jobject-class-name
15.1 Types and conversion between Lisp and Java
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:46