Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/antimatter15/ocrad.js
/ assert
Function
assert
ocrad.js:398–402 ·
view source on GitHub ↗
(condition, text)
Source
from the content-addressed store, hash-verified
396
var
EXITSTATUS = 0;
397
398
function
assert(condition, text) {
399
if
(!condition) {
400
abort(
'Assertion failed: '
+ text);
401
}
402
}
403
404
var
globalScope = this;
405
Callers
15
createOcradInstance
Function · 0.85
getCFunc
Function · 0.85
allocate
Function · 0.85
Pointer_stringify
Function · 0.85
stringToUTF8
Function · 0.85
stringToUTF16
Function · 0.85
stringToUTF32
Function · 0.85
intArrayToString
Function · 0.85
writeAsciiToMemory
Function · 0.85
addRunDependency
Function · 0.85
removeRunDependency
Function · 0.85
doCallback
Function · 0.85
Calls
1
abort
Function · 0.85
Tested by
no test coverage detected