Home > utils > selectElementExists
Signature:
export declare function selectElementExists(selectors: string | string[], baseElement?: ParentNode): boolean;
Parameter | Type | Description |
---|---|---|
selectors | string | string[] | One or more CSS selectors separated by commas |
baseElement | ParentNode | (Optional) The element to look inside of Whether it’s been found |
Returns:
boolean