check_type¶
-
sknano.core.
check_type
(obj, allowed_types=())[source] [edit on github][source]¶ Check object type against tuple of
allowed_types
.Parameters: Raises: TypeError
– Ifvalue
failsisinstance
check againstallowed_types
.
sknano.core.
check_type
(obj, allowed_types=())[source] [edit on github][source]¶Check object type against tuple of allowed_types
.
Parameters: | |
---|---|
Raises: |
|