MCPcopy Create free account
hub / github.com/diffusionstudio/vits-web / assert

Function assert

src/piper.js:133–135  ·  view source on GitHub ↗
(check, msg)

Source from the content-addressed store, hash-verified

131 );
132 function runWithFS() {
133 function assert(check, msg) {
134 if (!check) throw msg + new Error().stack;
135 }
136 Module['FS_createPath']('/', 'espeak-ng-data', true, true);
137 Module['FS_createPath']('/espeak-ng-data', 'lang', true, true);
138 Module['FS_createPath']('/espeak-ng-data/lang', 'aav', true, true);

Callers 2

processPackageDataFunction · 0.85
asyncLoadFunction · 0.85

Calls 1

abortFunction · 0.85

Tested by

no test coverage detected