MCPcopy
hub / github.com/lodash/lodash / baseFunctions

Function baseFunctions

lodash.js:3061–3065  ·  view source on GitHub ↗

* 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 th

(object, props)

Source from the content-addressed store, hash-verified

3059 * @returns {Array} Returns the function names.
3060 */
3061 function baseFunctions(object, props) {
3062 return arrayFilter(props, function(key) {
3063 return isFunction(object[key]);
3064 });
3065 }
3066
3067 /**
3068 * The base implementation of `_.get` without support for default values.

Callers 3

functionsFunction · 0.85
functionsInFunction · 0.85
mixinFunction · 0.85

Calls 2

arrayFilterFunction · 0.85
isFunctionFunction · 0.85

Tested by

no test coverage detected