_.isFunction(function(){}); // true _.isFunction({}); // false
var arr = [function(){}, {}, function(){}]; var funcArr = _.filter(arr, _.isFunction); // [function(){}, function(){}]Package library: The `_isFunction` method belongs to the Underscore library, which is a utility library for JavaScript that provides several useful functions to manipulate and work with arrays, objects, and functions.