Skip to main content

Function: selectorHasAttributeOutsideGlobal()

selectorHasAttributeOutsideGlobal(selectorContainer: Readonly<SelectorContainer>, predicate: (attributeNode: Readonly<Attribute>) => boolean): boolean

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

Check whether a selector has a matching attribute outside :global(...).

Parametersโ€‹

selectorContainerโ€‹

Readonly<SelectorContainer>

predicateโ€‹

(attributeNode: Readonly<Attribute>) => boolean

Returnsโ€‹

boolean