MCPcopy Index your code
hub / github.com/refined-github/refined-github / not

Function not

source/helpers/css-selectors.ts:10–13  ·  view source on GitHub ↗
(firstSelector: readonly string[] | string, ...otherSelectors: readonly string[])

Source from the content-addressed store, hash-verified

8export function not(selectors: readonly string[]): string;
9export function not(firstSelector: string, ...otherSelectors: readonly string[]): string;
10export function not(firstSelector: readonly string[] | string, ...otherSelectors: readonly string[]): string {
11 const selectors = Array.isArray(firstSelector) ? firstSelector : [firstSelector, ...otherSelectors];
12 return `:not(${selectors.join(', ')})`;
13}

Callers 5

selectors.tsFile · 0.85
initOnceFunction · 0.85
initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected