MCPcopy
hub / github.com/stemkoski/stemkoski.github.com / isArguments

Function isArguments

MathBox/mathbox-bundle.js:36690–36693  ·  view source on GitHub ↗

* Checks if `value` is an `arguments` object. * * @static * @memberOf _ * @category Objects * @param {*} value The value to check. * @returns {boolean} Returns `true` if the `value` is an `arguments` object, else `false`. * @example * * (function() { retu

(value)

Source from the content-addressed store, hash-verified

36688 * // => false
36689 */
36690 function isArguments(value) {
36691 return value && typeof value == 'object' && typeof value.length == 'number' &&
36692 toString.call(value) == argsClass || false;
36693 }
36694
36695 /**
36696 * Checks if `value` is an array.

Callers 3

baseFlattenFunction · 0.85
intersectionFunction · 0.85
xorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected