IsSimpleValue()

Determines if the object represents a simple value like a string, number, boolean etc

IsSimpleValue( value=any );

Returns: Boolean

Argument Description
value
any, required

Variable or expression

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