File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -538,8 +538,8 @@ module.exports = function (chai, util) {
538
538
/**
539
539
* ### .isObject(value, [message])
540
540
*
541
- * Asserts that `value` is an object (as revealed by
542
- * `Object.prototype.toString`).
541
+ * Asserts that `value` is an object of type 'Object' (as revealed by `Object.prototype.toString`).
542
+ * _The assertion does not match subclassed objects._
543
543
*
544
544
* var selection = { name: 'Chai', serve: 'with spices' };
545
545
* assert.isObject(selection, 'tea selection is an object');
@@ -558,7 +558,7 @@ module.exports = function (chai, util) {
558
558
/**
559
559
* ### .isNotObject(value, [message])
560
560
*
561
- * Asserts that `value` is _not_ an object.
561
+ * Asserts that `value` is _not_ an object of type 'Object' (as revealed by `Object.prototype.toString`) .
562
562
*
563
563
* var selection = 'chai'
564
564
* assert.isNotObject(selection, 'tea selection is not an object');
You can’t perform that action at this time.
0 commit comments