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

Function assert

docs/tests/v2/es6/js/sanddance.js:636–640  ·  view source on GitHub ↗
(condition, message)

Source from the content-addressed store, hash-verified

634exports.default = assert;
635
636function assert(condition, message) {
637 if (!condition) {
638 throw new Error("Assertion failed. ".concat(message));
639 }
640}
641},{}],"VEjx":[function(require,module,exports) {
642"use strict";
643

Callers 9

sanddance.jsFile · 0.70
polyfillExtensionFunction · 0.70
getGeojsonFeaturesFunction · 0.70
separateGeojsonFeaturesFunction · 0.70
checkCoordinatesFunction · 0.70
scanNumericLiteralFunction · 0.70
scanStringLiteralFunction · 0.70
scanRegExpBodyFunction · 0.70
throwErrorFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected