rules/it/is_ip_address library

Classes

IsIpAddress
Validates that the input is an IPv4 address (four dot-separated octets 0–255).

Functions

isIpAddress(Object? input) bool
Returns true if input is a string holding a strict dotted-quad IPv4 address — no leading zeros, signs or surrounding/embedded whitespace.