Skip to main content

Function: selectorHasAttributeOutsideGlobal()

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

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

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

Parametersโ€‹

selectorContainerโ€‹

Readonly<SelectorContainer>

predicateโ€‹

(attributeNode: Readonly<Attribute>) => boolean

Returnsโ€‹

boolean