MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / if

Function if

src/test/tester.js:688–690  ·  view source on GitHub ↗
(!condition)

Source from the content-addressed store, hash-verified

686 */
687 assert(condition, message) {
688 if (!condition) {
689 throw new Error(message || "Assertion failed");
690 }
691 }
692
693 assertEqual(actual, expected, message) {

Callers 2

constructorMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected