MCPcopy
hub / github.com/angular-ui/ui-router / isObject

Function isObject

test/angular/1.4/angular.js:609–612  ·  view source on GitHub ↗

* @ngdoc function * @name angular.isObject * @module ng * @kind function * * @description * Determines if a reference is an `Object`. Unlike `typeof` in JavaScript, `null`s are not * considered to be objects. Note that JavaScript arrays are objects. * * @param {*} value Reference to check.

(value)

Source from the content-addressed store, hash-verified

607 * @returns {boolean} True if `value` is an `Object` but not `null`.
608 */
609function isObject(value) {
610 // http://jsperf.com/isobject4
611 return value !== null && typeof value === 'object';
612}
613
614
615/**

Callers 15

baseExtendFunction · 0.70
copyElementFunction · 0.70
shallowCopyFunction · 0.70
bootstrapFunction · 0.70
serializeObjectFunction · 0.70
jqLiteDataFunction · 0.70
angular.jsFile · 0.70
supportObjectFunction · 0.70
instantiateFunction · 0.70
prepareAnimateOptionsFunction · 0.70
parseDirectiveBindingsFunction · 0.70
collectDirectivesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected