Skip to main content

has_attribute

Function has_attribute 

Source
pub fn has_attribute(element: &str, name: &str) -> bool
Expand description

Returns true when an element has the named attribute.