Skip to main content

is_link

Function is_link 

Source
pub fn is_link(source: &str) -> bool
Expand description

Whether source is one URL of any scheme, scheme://rest — what an explicit link may hold, the way a CommonMark autolink takes any scheme. is_url is the narrower question of what bare text links itself as.