* @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)
| 607 | * @returns {boolean} True if `value` is an `Object` but not `null`. |
| 608 | */ |
| 609 | function isObject(value) { |
| 610 | // http://jsperf.com/isobject4 |
| 611 | return value !== null && typeof value === 'object'; |
| 612 | } |
| 613 | |
| 614 | |
| 615 | /** |
no outgoing calls
no test coverage detected