Returns true only if the value is a string, boolean, numeric, or date.
isSimpleValue(value)
returns boolean
Name | Type | Required | Default | Description |
---|---|---|---|---|
value | any | Yes |
isSimpleValue(42)
isSimpleValue("Hello world")
For engines that support null, such as Lucee and Railo, null
is considered a complex value.
isSimpleValue( javaCast('null', '') )
isSimpleValue({})
isSimpleValue([])
As lists are just strings with delimiters, they are simple values.
isSimpleValue(arrayToList([]))