Callable() method in Python Built in Function
callable method in built in function returns the value as TRUE if the desired value is callable or else the output is FALSE.
Syntax:
callable(object)
Parameter of callable
- Callable has single argument which is an object
- If the object appears callable it is TRUE, if the object is not callable then it is FALSE.
Example -1:
When the object is callable
y = testFunction print(callable(y))
Output:

Example-2:
When the value is non-callable
a = 5 print(callable(a))
Output:
