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

Name

IsSimpleValue

Synopsis

                  IsSimpleValue(value)

Returns true if the specified value is a number, string, Boolean, or date/time object or false if it isn’t. Examples:

<cfset MyArray = ArrayNew(1)>
<cfset MyArray[1]="George">
<cfset MyArray[2]="Jeff">
   
<cfoutput>
IsSimpleValue(123): #IsSimpleValue(123)#<br>
IsSimpleValue('abc'): #IsSimpleValue('abc')#<br>
IsSimpleValue('123,abc,456,def'): #IsSimpleValue('123,abc,456,def')#<br>
IsSimpleValue(MyArray): #IsSimpleValue(MyArray)#<br>
IsSimpleValue(true): #IsSimpleValue(true)#<br>
IsSimpleValue(11/11/02): #IsSimpleValue(11/11/02)#<br>
</cfoutput>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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