1 var baseFunctions = require('./_baseFunctions'),
2 keysIn = require('./keysIn');
5 * Creates an array of function property names from own and inherited
6 * enumerable properties of `object`.
11 * @param {Object} object The object to inspect.
12 * @returns {Array} Returns the new array of property names.
16 * this.a = _.constant('a');
17 * this.b = _.constant('b');
20 * Foo.prototype.c = _.constant('c');
22 * _.functionsIn(new Foo);
23 * // => ['a', 'b', 'c']
25 function functionsIn(object) {
26 return object == null ? [] : baseFunctions(object, keysIn(object));
29 module.exports = functionsIn;