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

Function _normalize

packages/zod/src/v4/core/api.ts:1132–1134  ·  view source on GitHub ↗
(form?: "NFC" | "NFD" | "NFKC" | "NFKD" | (string & {}))

Source from the content-addressed store, hash-verified

1130// normalize
1131// @__NO_SIDE_EFFECTS__
1132export function _normalize(form?: "NFC" | "NFD" | "NFKC" | "NFKD" | (string & {})): checks.$ZodCheckOverwrite<string> {
1133 return _overwrite((input) => input.normalize(form));
1134}
1135
1136// trim
1137// @__NO_SIDE_EFFECTS__

Callers

nothing calls this directly

Calls 2

_overwriteFunction · 0.85
normalizeMethod · 0.80

Tested by

no test coverage detected