Determines whether an object is an instance of a ColdFusion interface or component, or of a Java class.
isInstanceOf(value, type)
→ returns boolean
Dates in CFML are instances of the java class: java.util.Date
isInstanceOf(now(), "java.util.Date");
Expected Result: true
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.