MCPcopy
hub / github.com/microsoft/SandDance / strict

Function strict

docs/tests/v2/es6/js/sanddance.js:8752–8754  ·  view source on GitHub ↗
(value, message)

Source from the content-addressed store, hash-verified

8750
8751// Expose a strict only variant of assert
8752function strict(value, message) {
8753 if (!value) fail(value, true, message, '==', strict);
8754}
8755assert.strict = objectAssign(strict, assert, {
8756 equal: assert.strictEqual,
8757 deepEqual: assert.deepStrictEqual,

Callers

nothing calls this directly

Calls 1

failFunction · 0.85

Tested by

no test coverage detected