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

Function compareCode

docs/scripts/ajv-validator.js:396–398  ·  view source on GitHub ↗
(fmt)

Source from the content-addressed store, hash-verified

394 cxt.fail$data(compareCode(fmt));
395 }
396 function compareCode(fmt) {
397 return codegen_1._ `${fmt}.compare(${data}, ${schemaCode}) ${KWDs[keyword].fail} 0`;
398 }
399 },
400 dependencies: ["format"],
401 };

Callers 2

validate$DataFormatFunction · 0.85
validateFormatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected