Ip

value class Ip(val value: String)

Represents an IP address (IPv4 or IPv6).

Throws

if the provided string is not a valid IPv4 or IPv6 address.

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard

The string representation of the IP address.