pub fn port(value: Input<'_>) -> bool
A port from 1 to 65535, optionally after an IPv4 address or a bracketed IPv6 one and a colon (127.0.0.1:80, [::1]:443). An int is checked as its decimal string.
127.0.0.1:80
[::1]:443
PHP: Port::isValid().
Port::isValid()