Python callable() Function

Facebooktwitterredditpinterestlinkedinmailby feather

Python callable() Function

The callable() function returns a boolean value ‘True’ if the specified object is callable, else it returns False.

Syntax

Parameter

Object:  The object parameter represents the value to test if it is callable or not.

Return

This function returns a returns Boolean value true, if the given object is callable.

Example 1

Return

Facebooktwitterredditpinterestlinkedinmailby feather