IsSimpleValue
Determine whether the given value is a string, boolean, numeric, or date value.
Method Signature
Arguments
Argument
Type
Required
Description
Default
value
any
false
Value to test for simple-ness.
Examples
A number is a simple value
Result: true
A string is a simple value as well
Result: true
A structure is a complex value
So it can't a be simple value
Result: false
An array is a complex value
Result: false
Additional Examples
Related
Last updated
Was this helpful?