MCPcopy Create free account
hub / github.com/json-editor/json-editor / not

Function not

docs/scripts/ajv-validator.js:1382–1384  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

1380 names[n] = (names[n] || 0) - (from[n] || 0);
1381 }
1382 function not(x) {
1383 return typeof x == "boolean" || typeof x == "number" || x === null ? !x : (0, code_1._) `!${par(x)}`;
1384 }
1385 exports.not = not;
1386 const andCode = mappend(exports.operators.AND);
1387// boolean AND (&&) expression with the passed arguments

Callers 1

optimizeNodesMethod · 0.85

Calls 1

parFunction · 0.85

Tested by

no test coverage detected