Converter interface
The converter converts objects from one type to another.
Methods
| convert(From | To) | Converts a value to the converter's output type. |
Method Details
convert(From | To)
Converts a value to the converter's output type.
function convert(value: From | To): To
Parameters
- value
-
From | To
The value to convert.
Returns
To
The converted value.