Function: selectorHasAttributeInPositiveScope()
function selectorHasAttributeInPositiveScope(
selectorContainer: Readonly<SelectorContainer>,
predicate: (attributeNode: Readonly<Attribute>) => boolean,
__namedParameters?: PositiveSelectorMatchOptions
): boolean;
Defined in: _internal/selector-parser-utils.ts:354
Check whether a selector has a matching attribute in positive selector scope.
Parametersโ
selectorContainerโ
predicateโ
(attributeNode: Readonly<Attribute>) => boolean
__namedParameters?โ
PositiveSelectorMatchOptions = {}
Returnsโ
boolean