{"id":25534,"date":"2021-11-19T09:13:15","date_gmt":"2021-11-19T03:43:15","guid":{"rendered":"https:\/\/python-programs.com\/?p=25534"},"modified":"2021-11-19T09:13:15","modified_gmt":"2021-11-19T03:43:15","slug":"python-callable-function-with-examples","status":"publish","type":"post","link":"https:\/\/python-programs.com\/python-callable-function-with-examples\/","title":{"rendered":"Python callable() Function with Examples"},"content":{"rendered":"

callable() Function in Python:<\/strong><\/p>\n

If the specified object is callable, the callable() function returns true; otherwise, it returns False.<\/p>\n

Syntax:<\/strong><\/p>\n

callable(object)<\/pre>\n

Parameters<\/strong><\/p>\n

object:<\/strong> It is an object that you want to see if an object is callable or not.<\/p>\n

Return Value:<\/strong><\/p>\n

The callable() method yields:<\/p>\n