What I am trying to do is test an object in ColdFusion to see what type of component it is. Something like...
<cfif isValid( "compath.dog", currentObj)>
...do something specific with dog objects...
</cfif>
I thought this was possible but receive an error saying the type I am passing does not correspond to one in the valid list of types...
Valid type arguments are: any, array, Boolean, date, numeric, query, string, struct, UUID, GUID, binary, integer, float, eurodate, time, creditcard, email, ssn, telephone, zipcode, url, regex, range , component, or variableName.
Is there a way to accomplish this in ColdFusion?