Type Alias AttributesSearch<TN>

AttributesSearch: PropertySearch<AttributeName<TN>, AttributeValue | null>

Search criteria for checking if attributes are present in an element. You can use an array of attribute names to check only if the attributes are present, or an object to search for specific values. Use null for the value if you only care about the presence of an attribute.

Type Parameters

  • TN extends TagName = "*"

    Tag name of element with corresponding attributes to search.