Changeset 79a0317 for imaps-frontend/node_modules/es-object-atoms/README.md
Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/es-object-atoms/README.md
r0c6b92a r79a0317 16 16 17 17 const $Object = require('es-object-atoms'); 18 const isObject = require('es-object-atoms/isObject'); 18 19 const ToObject = require('es-object-atoms/ToObject'); 19 20 const RequireObjectCoercible = require('es-object-atoms/RequireObjectCoercible'); … … 24 25 assert.throws(() => RequireObjectCoercible(null), TypeError); 25 26 assert.throws(() => RequireObjectCoercible(undefined), TypeError); 27 28 assert.equal(isObject(undefined), false); 29 assert.equal(isObject(null), false); 30 assert.equal(isObject({}), true); 31 assert.equal(isObject([]), true); 32 assert.equal(isObject(function () {}), true); 26 33 27 34 assert.deepEqual(RequireObjectCoercible(true), true);
Note:
See TracChangeset
for help on using the changeset viewer.