is_matching_angle

Function is_matching_angle 

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

Returns whether the CSS value has the <angle> type.

ยงExample

use encre_css::utils::value_matchers::is_matching_angle;
assert!(is_matching_angle("0.2turn"));