130bd05f11550d3418c96cae06c612c4f319a89a7615ccd3cc478c30b73693815b3d031898aa08c787f7073c3927b04dab35ea662b5696c3019b3b705461f7 552 B

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