2.2.19 • Published 2 years ago
@devtea2027/qui-explicabo-esse-distinctio v2.2.19
@devtea2027/qui-explicabo-esse-distinctio 
ES Object-related atoms: Object, ToObject, RequireObjectCoercible.
Example
const assert = require('assert');
const $Object = require('@devtea2027/qui-explicabo-esse-distinctio');
const ToObject = require('@devtea2027/qui-explicabo-esse-distinctio/ToObject');
const RequireObjectCoercible = require('@devtea2027/qui-explicabo-esse-distinctio/RequireObjectCoercible');
assert.equal($Object, Object);
assert.throws(() => ToObject(null), TypeError);
assert.throws(() => ToObject(undefined), TypeError);
assert.throws(() => RequireObjectCoercible(null), TypeError);
assert.throws(() => RequireObjectCoercible(undefined), TypeError);
assert.deepEqual(RequireObjectCoercible(true), true);
assert.deepEqual(ToObject(true), Object(true));
const obj = {};
assert.equal(RequireObjectCoercible(obj), obj);
assert.equal(ToObject(obj), obj);Tests
Simply clone the repo, npm install, and run npm test
Security
Please email @ljharb or see https://tidelift.com/security if you have a potential security vulnerability to report.
2.2.19
2 years ago
2.2.18
2 years ago
2.2.17
2 years ago
2.2.15
2 years ago
2.1.14
2 years ago
2.2.16
2 years ago
2.1.15
2 years ago
2.0.14
2 years ago
2.0.13
2 years ago
1.0.13
2 years ago
1.0.12
2 years ago
1.0.11
2 years ago
1.0.10
2 years ago
1.0.9
2 years ago
1.0.8
2 years ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
