MCPcopy Create free account
hub / github.com/Distributive-Network/PythonMonkey / same

Function same

tests/js/quint.js:29–32  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

27 if (x !== false) throw new Error(`'${x}' is not false`);
28 },
29 same(a, b)
30 {
31 if (a !== b) throw new Error(`'${a}' does not equal to '${b}'`);
32 },
33 arrayEqual(a, b)
34 {
35 if (JSON.stringify(a) !== JSON.stringify(b)) throw new Error(`'${a}' does not equal to '${b}'`);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected