@thi.ng/checks
Version:
Collection of 70+ type, feature & value checks
9 lines • 315 B
TypeScript
/**
* On Firefox `TouchEvent` is undefined if the hardware doesn't support touch.
* Therefore this predicate checks for that first before verifying if `e` is
* indeed a `TouchEvent`.
*
* @param e
*/
export declare const isTouchEvent: (e: Event) => e is TouchEvent;
//# sourceMappingURL=is-touch-event.d.ts.map