IsSimpleValue()
Determines if the object represents a simple value like a string, number, boolean etc
IsSimpleValue( value=any );
Returns: Boolean
Examples
writeOutput( isSimpleValue("string") & "<br>" );
writeOutput( isSimpleValue(123456) & "<br>" );
writeOutput( isSimpleValue(getTimezone()) & "<br>" );
writeOutput( isSimpleValue(now()) & "<br>" );
writeOutput( isSimpleValue(javacast("char","A")) & "<br>" );
writeOutput( isSimpleValue(nullValue()) & "<br>" );
writeOutput( isSimpleValue([]) & "<br>" );
writeOutput( isSimpleValue({}) & "<br>" );
writeOutput( isSimpleValue(queryNew("test")) );
See also
- Decision logic
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)