matches_types

sunpy.util.cond_dispatch.matches_types(fun, types, args, kwargs)[source] [edit on github]

See if args and kwargs match are instances of types. types are given in the order they are defined in the function. kwargs are automatically converted into that order.