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

Function true

tests/js/quint.js:21–24  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

19 if (x.name !== name) throw new Error(`'${x}' does not have a name of ${name}`);
20 },
21 true(x)
22 {
23 if (x !== true) throw new Error(`'${x}' is not true`);
24 },
25 false(x)
26 {
27 if (x !== false) throw new Error(`'${x}' is not false`);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected