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

Function isObject

test/angular/1.6/angular.js:705–708  ·  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

703 * @returns {boolean} True if `value` is an `Object` but not `null`.
704 */
705function isObject(value) {
706 // http://jsperf.com/isobject4
707 return value !== null && typeof value === 'object';
708}
709
710
711/**

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