MCPcopy
hub / github.com/microsoft/SandDance / ok

Function ok

docs/tests/v2/es6/js/sanddance.js:8481–8483  ·  view source on GitHub ↗
(value, message)

Source from the content-addressed store, hash-verified

8479// assert.strictEqual(true, guard, message_opt);.
8480
8481function ok(value, message) {
8482 if (!value) fail(value, true, message, '==', assert.ok);
8483}
8484assert.ok = ok;
8485
8486// 5. The equality assertion tests shallow, coercive equality with

Callers

nothing calls this directly

Calls 1

failFunction · 0.85

Tested by

no test coverage detected