Skip to content

Commit 8e20a20

Browse files
authored
Use consistent variable names for IP examples (#4679)
1 parent 6176dcb commit 8e20a20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/docs/content/api.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,10 +455,10 @@ z.iso.time({ precision: 3 }); // HH:MM:SS.sss (millisecond precision)
455455

456456
```ts
457457
const ipv4 = z.ipv4();
458-
v4.parse("192.168.0.0"); //
458+
ipv4.parse("192.168.0.0"); //
459459

460460
const ipv6 = z.ipv6();
461-
v6.parse("2001:db8:85a3::8a2e:370:7334"); //
461+
ipv6.parse("2001:db8:85a3::8a2e:370:7334"); //
462462
```
463463

464464
### IP blocks (CIDR)

0 commit comments

Comments
 (0)