katoikia-app/web-ui/web-react/node_modules/dom-helpers/esm/contains.d.ts

8 lines
229 B
TypeScript

/**
* Checks if an element contains another given element.
*
* @param context the context element
* @param node the element to check
*/
export default function contains(context: Element, node: Element): boolean | undefined;