thirtyfour::extensions::query::conditions

Function element_has_property

Source
pub fn element_has_property<S, N>(
    property_name: S,
    value: N,
    ignore_errors: bool,
) -> ElementPredicate
where S: Into<String>, N: Needle + Clone + Send + Sync + 'static,
Expand description

Predicate that returns true for elements that have the specified property with the specified value. See the Needle documentation for more details on text matching rules.