IsSimpleValue

"-->
 IsSimpleValue (value) 

Description

Checks the type of a value and returns true for string, number, Boolean, or date/time. For everything else, returns false.

Example

 <cfset zipcode = ArrayNew(1)>  <cfset zipcode[1] = 80202>  <cfset zipcode[2] = 80203>  <cfset zipcode[1] = 80204>  <cfoutput>  <p>The number 1 is a simple value: #IsSimpleValue(1)#</p>  <p>The zipcode array is a simple value: #IsSimpleValue(zipcode)# </p>  </cfoutput>  


Inside ColdFusion MX
Inside Coldfusion MX
ISBN: 0735713049
EAN: 2147483647
Year: 2005
Pages: 579

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net