toType<T> method
- Converts value into an object type specified by Type Code or returns type default when conversion is not possible.
-
type
the TypeCode for the data type into which 'value' is to be converted.
-
value
the value to convert.
- Returns object value of type corresponding to TypeCode, or type default when conversion is not supported.
- See toNullableType
- See toTypeCode
-