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

Function assert

lib/assert.js:185–187  ·  view source on GitHub ↗

* Pure assertion tests whether a value is truthy, as determined * by !!value. * @param {...any} args * @returns {void}

(...args)

Source from the content-addressed store, hash-verified

183 * @returns {void}
184 */
185function assert(...args) {
186 innerOk(assert, ...args);
187}
188
189/**
190 * Pure assertion tests whether a value is truthy, as determined

Callers 15

socketOnDataFunction · 0.70
responseOnEndFunction · 0.70
internalConnectFunction · 0.70
internalConnectMultipleFunction · 0.70
afterConnectFunction · 0.70
createServerHandleFunction · 0.70
_http_outgoing.jsFile · 0.70
getHeapSnapshotFunction · 0.70
ZlibBaseFunction · 0.70
zlib.jsFile · 0.70
processChunkSyncFunction · 0.70
processCallbackFunction · 0.70

Calls 1

innerOkFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…