Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
const
{ object, string, number, date } = require(
'yup'
)
2
3
const
contactSchema = object({
4
name: string()
Callers
nothing calls this directly
Calls
7
integer
Method · 0.80
positive
Method · 0.80
email
Method · 0.80
url
Method · 0.80
required
Method · 0.65
default
Method · 0.65
cast
Method · 0.65
Tested by
no test coverage detected