Outlook_Addin_LLM/node_modules/@fluentui/dom-utilities/lib-commonjs/elementContains.d.ts

9 lines
368 B
TypeScript

/**
* Determines whether or not a parent element contains a given child element.
* If `allowVirtualParents` is true, this method may return `true` if the child
* has the parent in its virtual element hierarchy.
*
* @public
*/
export declare function elementContains(parent: HTMLElement | null, child: HTMLElement | null, allowVirtualParents?: boolean): boolean;