Skip to main content

domain_depth

Function domain_depth 

Source
pub fn domain_depth(input: &str) -> usize
Expand description

Returns the number of labels in a valid domain name.