MCPcopy
hub / github.com/stemkoski/stemkoski.github.com / isObject

Function isObject

MathBox/mathbox-bundle.js:37548–37554  ·  view source on GitHub ↗

* Checks if `value` is the language type of Object. * (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) * * @static * @memberOf _ * @category Objects * @param {*} value The value to check. * @returns {boolean} Returns `true` if the `

(value)

Source from the content-addressed store, hash-verified

37546 * // => false
37547 */
37548 function isObject(value) {
37549 // check if the value is the ECMAScript language type of Object
37550 // http://es5.github.io/#x8
37551 // and avoid a V8 bug
37552 // http://code.google.com/p/v8/issues/detail?id=2291
37553 return !!(value && objectTypes[typeof value]);
37554 }
37555
37556 /**
37557 * Checks if `value` is `NaN`.

Callers 11

boundFunction · 0.70
baseCloneFunction · 0.70
baseCreateFunction · 0.70
runInContextFunction · 0.70
mergeFunction · 0.70
pickFunction · 0.70
debounceFunction · 0.70
throttleFunction · 0.70
createCallbackFunction · 0.70
mixinFunction · 0.70
mathbox-bundle.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected