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

Function isObject

test/angular/1.7/angular.js:678–681  ·  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

676 * @returns {boolean} True if `value` is an `Object` but not `null`.
677 */
678function isObject(value) {
679 // http://jsperf.com/isobject4
680 return value !== null && typeof value === 'object';
681}
682
683
684/**

Callers 15

errorHandlingConfigFunction · 0.70
baseExtendFunction · 0.70
copyElementFunction · 0.70
bootstrapFunction · 0.70
setupModuleLoaderFunction · 0.70
shallowCopyFunction · 0.70
serializeObjectFunction · 0.70
jqLiteDataFunction · 0.70
angular.jsFile · 0.70
supportObjectFunction · 0.70
prepareAnimateOptionsFunction · 0.70
parseDirectiveBindingsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected