MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / label

Function label

lib/web/CodeMirror/test/driver.js:97–100  ·  view source on GitHub ↗
(str, msg)

Source from the content-addressed store, hash-verified

95}
96
97function label(str, msg) {
98 if (msg) return str + " (" + msg + ")";
99 return str;
100}
101function eq(a, b, msg) {
102 if (a != b) throw new Failure(label(a + " != " + b, msg));
103}

Callers 4

eqFunction · 0.85
nearFunction · 0.85
eqCharPosFunction · 0.85
isFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected