Lucee Function Reference

Function ISINSTANCEOF

Determines whether an object is an instance of a Lucee interface or component, or of a Java class.

Example

isinstanceof(any obj,string type):boolean

Category

decision,component

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
obj any  Yes The CFC instance or Java object that you are testing  
type string  Yes The name of the interface, component, or Java class of which the object might be an instance.