Skip to main content

is_ip

Function is_ip 

Source
pub fn is_ip(input: &str) -> bool
Expand description

Returns true when the input is a valid IPv4 or IPv6 literal.