## check_type()


Check if an object is of the expected type.


Usage


``` python
check_type(
    obj,
    expected,
)
```


## Parameters


`obj: object`  
The object to type-check.

`expected: type`  
The expected type.


## Returns


`bool`  
True if the object matches the expected type.


## Examples

``` python
>>> check_type("hello", str)
```

True
