Sha256: 98e1c1fb5206aa2d25292d33f375b6ab7979e1bb0b9b65728e2c130db00702da
Contents?: true
Size: 552 Bytes
Versions: 299
Compression:
Stored size: 552 Bytes
Contents
var arrayFilter = require('./_arrayFilter'), isFunction = require('./isFunction'); /** * The base implementation of `_.functions` which creates an array of * `object` function property names filtered from `props`. * * @private * @param {Object} object The object to inspect. * @param {Array} props The property names to filter. * @returns {Array} Returns the function names. */ function baseFunctions(object, props) { return arrayFilter(props, function(key) { return isFunction(object[key]); }); } module.exports = baseFunctions;
Version data entries
299 entries across 276 versions & 32 rubygems