Python callable() Function
Definition and Usage
If the specified object is callable, the callable() function returns True, otherwise it returns False.
Syntax
callable(object)
Parameter Value
Parameter | Description |
---|---|
object | Need to test whether the object is callable. |