Function: selectorHasAttribute()
function selectorHasAttribute(
selectorContainer: Readonly<SelectorContainer>,
predicate: (attributeNode: Readonly<Attribute>) => boolean
): boolean;
Defined in: _internal/selector-parser-utils.ts:332
Check whether a selector has a matching attribute in any scope.
Parametersโ
selectorContainerโ
predicateโ
(attributeNode: Readonly<Attribute>) => boolean
Returnsโ
boolean