MCPcopy
hub / github.com/colinhacks/zod / set.test.ts

File set.test.ts

packages/zod/src/v4/classic/tests/set.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { expect, expectTypeOf, test } from "vitest";
2import * as z from "zod/v4";
3
4const stringSet = z.set(z.string());

Callers

nothing calls this directly

Calls 8

stringMethod · 0.80
hasMethod · 0.80
minMethod · 0.65
maxMethod · 0.65
sizeMethod · 0.65
nonemptyMethod · 0.65
safeParseMethod · 0.65
parseMethod · 0.65

Tested by

no test coverage detected