MCPcopy Create free account
hub / github.com/FunAudioLLM/Fun-Audio-Chat / assert

Function assert

web_demo/client/public/assets/decoderWorker.min.js:466–470  ·  view source on GitHub ↗
(condition, text)

Source from the content-addressed store, hash-verified

464var ABORT = false;
465var EXITSTATUS;
466function assert(condition, text) {
467 if (!condition) {
468 abort("Assertion failed: " + text);
469 }
470}
471var UTF8Decoder =
472 typeof TextDecoder !== "undefined" ? new TextDecoder("utf8") : undefined;
473function UTF8ArrayToString(heap, idx, maxBytesToRead) {

Callers 1

Calls 1

abortFunction · 0.85

Tested by

no test coverage detected