ndtools.comparison.utils module#

ndtools.comparison.utils.get_method(cls: Any, name: str, default: Any, /) Any[source]#

Return a user-defined method of a class with given name.

ndtools.comparison.utils.has_method(cls: Any, name: str, /) bool[source]#

Check if a class has a user-defined method with given name.