UNPKG

194 BTypeScriptView Raw
1/**
2 * Checks if a given element matches a selector.
3 *
4 * @param node the element
5 * @param selector the selector
6 */
7export default function matches(node: Element, selector: string): boolean;