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/99): #IsSimpleValue(11/11/99)#<BR> </CFOUTPUT>
Get Programming ColdFusion now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.