1 var arrayFilter = require('./_arrayFilter'),
2 isFunction = require('./isFunction');
5 * The base implementation of `_.functions` which creates an array of
6 * `object` function property names filtered from `props`.
9 * @param {Object} object The object to inspect.
10 * @param {Array} props The property names to filter.
11 * @returns {Array} Returns the new array of filtered property names.
13 function baseFunctions(object, props) {
14 return arrayFilter(props, function(key) {
15 return isFunction(object[key]);
19 module.exports = baseFunctions;