* Determines whether a value should be treated as an object. * @param {?} value The value to test. * @returns {boolean} Whether the value is an object.
(value)
| 23 | * @returns {boolean} Whether the value is an object. |
| 24 | */ |
| 25 | function isObject(value) { |
| 26 | return Object.prototype.toString.call(value) === '[object Object]' |
| 27 | } |
| 28 | |
| 29 | /** |
| 30 | * Determines whether a {@code value} should be treated as a promise. |
no test coverage detected