Function urlexpand::is_shortened
source · pub fn is_shortened(url: &str) -> bool
Expand description
Check to see if a given url is a shortened url
§Example
use urlexpand::is_shortened;
let url = "https://bit.ly/id";
assert!(is_shortened(url));