## convert()


Convert a value to a different type.


Usage


``` python
convert(value: str, to: type) -> int
 
convert(value: int, to: type) -> str
```


## Parameters


`value`  
The value to convert.

`to=str`    
Target type.


## Returns


`int or str`  
Converted value.
