MCPcopy Create free account
hub / github.com/microsoft/SandDance / assert

Function assert

docs/app/js/sanddance-app.js:52642–52644  ·  view source on GitHub ↗
(condition, message)

Source from the content-addressed store, hash-verified

52640var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");
52641parcelHelpers.defineInteropFlag(exports);
52642function assert(condition, message) {
52643 if (!condition) throw new Error(message || "loader assertion failed.");
52644}
52645exports.default = assert;
52646
52647},{"@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"1AAW0":[function(require,module,exports) {

Callers 4

scanNumericLiteralFunction · 0.70
scanStringLiteralFunction · 0.70
scanRegExpBodyFunction · 0.70
throwErrorFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected