bundles / IPython 9.17.0 / IPython / utils / wildcard / is_type
function
IPython.utils.wildcard:is_type
Signature
def is_type(obj, typestr_or_type)Summary
is_type(obj, typestr_or_type) verifies if obj is of a certain type. It can take strings or actual python types for the second argument, i.e. 'tuple'<->TupleType. 'all' matches all types.
Extended Summary
TODO: Should be extended for choosing more than one type.
Aliases
IPython.utils.wildcard.is_type