is_ip

Function is_ip 

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

Check if string is IPv6 or IPv4.