Skip to main content

Function: selectorHasAttributeInPositiveScope()

selectorHasAttributeInPositiveScope(selectorContainer: Readonly<SelectorContainer>, predicate: (attributeNode: Readonly<Attribute>) => boolean, __namedParameters?: PositiveSelectorMatchOptions): boolean

Defined in: _internal/selector-parser-utils.ts:352

Check whether a selector has a matching attribute in positive selector scope.

Parametersโ€‹

selectorContainerโ€‹

Readonly<SelectorContainer>

predicateโ€‹

(attributeNode: Readonly<Attribute>) => boolean

__namedParameters?โ€‹

PositiveSelectorMatchOptions = {}

Returnsโ€‹

boolean