MCPcopy Create free account
hub / github.com/PageLeay/celestial-runtime / ok

Function ok

misc/test-browser/assert.js:61–63  ·  view source on GitHub ↗
(check, reason)

Source from the content-addressed store, hash-verified

59}
60
61export function ok(check, reason) {
62 equal(!!check, true, reason);
63}
64
65export function throws(func, checkFunc, reason) {
66 try {

Callers

nothing calls this directly

Calls 1

equalFunction · 0.70

Tested by

no test coverage detected