Type Alias: IpAddress ​
IpAddress =
string&Brand.Brand<"IpAddress">
Defined in: types.ts:46
Branded type for IP addresses. Accepts valid IPv4 (e.g., '192.168.1.1') or IPv6 (e.g., '::1') addresses.
Example ​
typescript
const ipv4 = IpAddress('192.168.1.1');
const ipv6 = IpAddress('::1');