MCPcopy
hub / github.com/jquense/yup / runkit-example.js

File runkit-example.js

runkit-example.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const { object, string, number, date } = require('yup')
2
3const contactSchema = object({
4 name: string()

Callers

nothing calls this directly

Calls 7

integerMethod · 0.80
positiveMethod · 0.80
emailMethod · 0.80
urlMethod · 0.80
requiredMethod · 0.65
defaultMethod · 0.65
castMethod · 0.65

Tested by

no test coverage detected