MCPcopy
hub / github.com/jvilk/BrowserFS / assert

Function assert

test/tests/emscripten/readdir_empty.js:362–366  ·  view source on GitHub ↗
(condition, text)

Source from the content-addressed store, hash-verified

360var tempRet0, tempRet1, tempRet2, tempRet3, tempRet4, tempRet5, tempRet6, tempRet7, tempRet8, tempRet9;
361
362function assert(condition, text) {
363 if (!condition) {
364 abort('Assertion failed: ' + text);
365 }
366}
367
368var globalScope = this;
369

Callers 8

readdir_empty.jsFile · 0.70
getCFuncFunction · 0.70
allocateFunction · 0.70
_pthread_cleanup_popFunction · 0.70
_sbrkFunction · 0.70
___syscall140Function · 0.70
___syscall220Function · 0.70

Calls 1

abortFunction · 0.70

Tested by

no test coverage detected