MCPcopy Index your code
hub / github.com/prototypejs/prototype / ok

Function ok

test/unit/static/js/assertions.js:4–8  ·  view source on GitHub ↗
(val, message)

Source from the content-addressed store, hash-verified

2(function () {
3
4 function ok(val, message) {
5 if (!!!val) {
6 fail(val, true, message, '==');
7 }
8 }
9
10 function buildMessage() {
11 var args = $A(arguments), template = args.shift();

Callers

nothing calls this directly

Calls 1

failFunction · 0.70

Tested by

no test coverage detected