MCPcopy
hub / github.com/nwutils/nw-sample-apps / eq

Function eq

mini-code-edit/cm/test/test.js:324–326  ·  view source on GitHub ↗
(a, b, msg)

Source from the content-addressed store, hash-verified

322}
323
324function eq(a, b, msg) {
325 if (a != b) throw new Failure(a + " != " + b + (msg ? " (" + msg + ")" : ""));
326}
327function eqPos(a, b, msg) {
328 if (a == b) return;
329 if (a == null || b == null) throw new Failure("comparing point to null");

Callers 2

test.jsFile · 0.85
eqPosFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected