Skip to main content

is_subset

Function is_subset 

Source
pub fn is_subset(value: &str, range: &str) -> bool
Expand description

Returns true if value (an IP address or CIDR range) is contained within range (the ISSUBSET operator). IPv4/IPv6 only; mixed families and unparseable inputs never match.