MCPcopy
hub / github.com/stemkoski/stemkoski.github.com / functions

Function functions

MathBox/mathbox-bundle.js:37291–37299  ·  view source on GitHub ↗

* Creates a sorted array of property names of all enumerable properties, * own and inherited, of `object` that have function values. * * @static * @memberOf _ * @alias methods * @category Objects * @param {Object} object The object to inspect. * @returns {Arra

(object)

Source from the content-addressed store, hash-verified

37289 * // => ['all', 'any', 'bind', 'bindAll', 'clone', 'compact', 'compose', ...]
37290 */
37291 function functions(object) {
37292 var result = [];
37293 forIn(object, function(value, key) {
37294 if (isFunction(value)) {
37295 result.push(key);
37296 }
37297 });
37298 return result.sort();
37299 }
37300
37301 /**
37302 * Checks if the specified property name exists as a direct property of `object`,

Callers 2

bindAllFunction · 0.85
mixinFunction · 0.85

Calls 2

forInFunction · 0.85
isFunctionFunction · 0.70

Tested by

no test coverage detected