(firstSelector: readonly string[] | string, ...otherSelectors: readonly string[])
| 1 | export function is(selectors: readonly string[]): string; |
| 2 | export function is(firstSelector: string, ...otherSelectors: readonly string[]): string; |
| 3 | export function is(firstSelector: readonly string[] | string, ...otherSelectors: readonly string[]): string { |
| 4 | const selectors = Array.isArray(firstSelector) ? firstSelector : [firstSelector, ...otherSelectors]; |
| 5 | return `:is(${selectors.join(', ')})`; |
| 6 | } |
| 7 | |
| 8 | export function not(selectors: readonly string[]): string; |
| 9 | export function not(firstSelector: string, ...otherSelectors: readonly string[]): string; |
no outgoing calls
no test coverage detected