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

Function name

tests/js/quint.js:17–20  ·  view source on GitHub ↗
(x, name)

Source from the content-addressed store, hash-verified

15 if (typeof x !== 'function') throw new Error(`'${x}' is not a function`);
16 },
17 name(x, name)
18 {
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`);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected