MCPcopy
hub / github.com/ajv-validator/ajv / badEvenCode

Function badEvenCode

spec/ajv.spec.ts:66–69  ·  view source on GitHub ↗
(cxt: KeywordCxt)

Source from the content-addressed store, hash-verified

64 }, /Unexpected token/)
65
66 function badEvenCode(cxt: KeywordCxt) {
67 const op = cxt.schema ? _`===` : _`!===` // invalid on purpose
68 cxt.pass(_`${cxt.data} % 2 ${op} 0`)
69 }
70 })
71 })
72

Callers

nothing calls this directly

Calls 2

_Function · 0.90
passMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…