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

Function assert

deps/v8/test/js-perf-test/base.js:380–382  ·  view source on GitHub ↗
(condition, message)

Source from the content-addressed store, hash-verified

378
379
380function assert(condition, message) {
381 if (!condition) throw Error(message);
382}
383
384
385function assertEquals(expected, actual, message) {

Callers 15

mainFunction · 0.50
ExpressionMethod · 0.50
constructorMethod · 0.50
isDirectorySkippedMethod · 0.50
loadFlagsMethod · 0.50
loadDependencyMethod · 0.50
isTestSkippedMethod · 0.50
toggleFunction · 0.50
twoBucketSampleFunction · 0.50
sampleOfTwoFunction · 0.50
sampleFunction · 0.50
chooseRandomFlagsFunction · 0.50

Calls 1

ErrorFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…