is_matching_url

Function is_matching_url 

Source
pub fn is_matching_url(value: &str) -> bool
Expand description

Returns whether the CSS value is an url().

ยงExample

use encre_css::utils::value_matchers::is_matching_url;
assert!(is_matching_url("url('/hello/world.png')"));