MCPcopy Create free account
hub / github.com/EricSimons/ionic-course / isObject

Function isObject

code/songhop/www/lib/angular/angular.js:517–520  ·  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

515 * @returns {boolean} True if `value` is an `Object` but not `null`.
516 */
517function isObject(value) {
518 // http://jsperf.com/isobject4
519 return value !== null && typeof value === 'object';
520}
521
522
523/**

Callers 15

copyFunction · 0.70
shallowCopyFunction · 0.70
bootstrapFunction · 0.70
serializeObjectFunction · 0.70
jqLiteDataFunction · 0.70
angular.jsFile · 0.70
supportObjectFunction · 0.70
instantiateFunction · 0.70
$CompileProviderFunction · 0.70
applyDirectivesToNodeFunction · 0.70
compileTemplateUrlFunction · 0.70
$ControllerProviderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected