You are here : python_3Built-in Functionscallable

callable() - Built-in Functions

Return True if the object argument appears callable,
False if not.  If this returns true, it is still possible that a
call fails, but if it is false, calling object will never succeed.
Note that classes are callable (calling a class returns a new instance);
instances are callable if their class has a __call__() method.


Syntax

callable(object)


Example


Output / Return Value


Limitations


Alternatives / See Also


Reference