MCPcopy Index your code
hub / github.com/fastify/fast-json-stringify / validate

Method validate

lib/validator.js:50–52  ·  view source on GitHub ↗
(schemaRef, data)

Source from the content-addressed store, hash-verified

48 }
49
50 validate (schemaRef, data) {
51 return this.ajv.validate(schemaRef, data)
52 }
53
54 // Ajv does not natively support JavaScript objects like Date or other types
55 // that rely on a custom .toJSON() representation. To properly validate schemas

Callers 1

validate13Function · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected