Skip to main content

validate_ipv6_address

Validates that the provided value is a valid IPv6 address and raises a ValidationError if it is not.

def validate_ipv6_address(
value: string
) - > null

Validates whether a given string is a valid IPv6 address and raises a ValidationError if the format is incorrect.

Parameters

NameTypeDescription
valuestringThe IP address string to be checked for IPv6 compliance.

Returns

TypeDescription
nullReturns nothing if the validation passes successfully.