• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Name

IsNotMap

Synopsis

                  IsNotMap(variable_name)

Returns true if the specified variable does not map to an object of type Structure, Query, XML Document Object, COM, CORBA, Java, ColdFusion Component, or web service. This is an undocumented function in ColdFusion MX. Here’s an example that attempts to evaluate both a simple value and an object:

<cfset x=1>
<cfobject type="Java" action="Create" name="FileReader" class="java.io.FileReader">
   
<cfoutput>
Does x not map to an object? #IsNotMap(x)#<br>
Does FileReader not map to an object? #IsNotMap(FileReader)#
</cfoutput>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint