MCPcopy
hub / github.com/colinhacks/zod / ostring

Function ostring

packages/zod/src/v3/types.ts:5080–5080  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5078const preprocessType = ZodEffects.createWithPreprocess;
5079const pipelineType = ZodPipeline.create;
5080const ostring = () => stringType().optional();
5081const onumber = () => numberType().optional();
5082const oboolean = () => booleanType().optional();
5083

Callers

nothing calls this directly

Calls 1

optionalMethod · 0.80

Tested by

no test coverage detected