Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/colinhacks/zod
/ valibot-string.ts
File
valibot-string.ts
packages/treeshake/valibot-string.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
* as z from
"valibot"
;
2
3
const
schema = z.pipe(z.string(), z.minLength(1));
4
console.log(z.parse(schema,
"hi"
));
Callers
nothing calls this directly
Calls
4
pipe
Method · 0.80
string
Method · 0.80
minLength
Method · 0.80
parse
Method · 0.65
Tested by
no test coverage detected