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

Method ipv4

packages/zod/src/v4/classic/schemas.ts:504–504  ·  view source on GitHub ↗

@deprecated Use `z.ipv4()` instead.

(params?: string | core.$ZodCheckIPv4Params)

Source from the content-addressed store, hash-verified

502 // ip(params?: string | (core.$ZodCheckIPv4Params & { version?: "v4" | "v6" })): ZodUnion<[this, this]>;
503 /** @deprecated Use `z.ipv4()` instead. */
504 ipv4(params?: string | core.$ZodCheckIPv4Params): this;
505 /** @deprecated Use `z.ipv6()` instead. */
506 ipv6(params?: string | core.$ZodCheckIPv6Params): this;
507 /** @deprecated Use `z.cidrv4()` instead. */

Callers 7

convertBaseSchemaFunction · 0.80
string.test.tsFile · 0.80
string.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected