MCPcopy Index your code
hub / github.com/nodejs/node / notDeepStrictEqual

Function notDeepStrictEqual

lib/assert.js:331–346  ·  view source on GitHub ↗
(actual, expected, ...message)

Source from the content-addressed store, hash-verified

329 */
330Assert.prototype.notDeepStrictEqual = notDeepStrictEqual;
331function notDeepStrictEqual(actual, expected, ...message) {
332 if (arguments.length < 2) {
333 throw new ERR_MISSING_ARGS('actual', 'expected');
334 }
335 if (isDeepEqual === undefined) lazyLoadComparison();
336 if (isDeepStrictEqual(actual, expected, this?.[kOptions]?.skipPrototype)) {
337 innerFail({
338 actual,
339 expected,
340 message,
341 operator: 'notDeepStrictEqual',
342 stackStartFn: notDeepStrictEqual,
343 diff: this?.[kOptions]?.diff,
344 });
345 }
346}
347
348/**
349 * The strict equivalence assertion tests a strict equality relation.

Callers 1

Calls 3

lazyLoadComparisonFunction · 0.85
innerFailFunction · 0.85
isDeepStrictEqualFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…