bundles / IPython 9.14.0.dev / IPython / utils / wildcard / is_type
function
IPython.utils.wildcard:is_type
source: /IPython/utils/wildcard.py :38
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