ÿØÿà JFIFÿØÿà JFIF ÿØÿà JFIFÿØÿà JFIF ÿþ$
/**
* Checks if the element can be selected by the provided selector or not.
*
* @param elm - An element to check.
* @param selector - A selector to test.
*
* @return `true` if the selector matches the element, or otherwise `false`.
*/
export function matches( elm: Element, selector: string ): boolean {
return ( elm[ 'msMatchesSelector' ] || elm.matches ).call( elm, selector );
}
ÿØÿà JFIF ÿþ$
ÿØÿà JFIF ÿþ$
ÿÂ