Function: selectorTrailingCompoundHasClass()
selectorTrailingCompoundHasClass(
selector:Readonly<ParsedSelector>,predicate: (cssClassName:string) =>boolean):boolean
Defined in: _internal/selector-parser-utils.ts:541
Check whether the selected element's trailing compound contains one matching
class, including positive selector wrappers like :is(...) and
:global(...).
Parametersโ
selectorโ
predicateโ
(cssClassName: string) => boolean
Returnsโ
boolean