|||
Returns True if x is of the given type, raises TypeError otherwise
See istype for examples
Can be used as:
assert_type(x, int, float)
or:
assert assert_type(x, [int])
bool
<Page contents
>Page contents:
assert_type()
Styled using the Piccolo Theme