simpeg.utils.validate_callable#

simpeg.utils.validate_callable(property_name, obj)[source]#

Validate if an object is callable

Parameters:
property_namestr

The name of the property being set

objobject

The object to test

Returns:
callable()