MCPcopy Index your code
hub / github.com/angular-ui/ui-router / isObject

Function isObject

test/angular/1.5/angular.js:598–601  ·  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

596 * @returns {boolean} True if `value` is an `Object` but not `null`.
597 */
598function isObject(value) {
599 // http://jsperf.com/isobject4
600 return value !== null && typeof value === 'object';
601}
602
603
604/**

Callers 15

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

Calls

no outgoing calls

Tested by

no test coverage detected