isPrimitive method
Checks if value has primitive type.
Primitive types are: numbers, strings, booleans, date and time. Complex (non-primitive types are): objects, maps and arrays
value
a value to check Returns true if the value has primitive type and false if value type is complex.
See TypeConverter.toTypeCode See TypeCode