(event: any)
| 17 | } |
| 18 | |
| 19 | export const isTouch = (event: any): event is Touch => { |
| 20 | return typeof window.Touch !== 'undefined' && event instanceof Touch |
| 21 | } |
| 22 | |
| 23 | export const isMouseEvent = (event: any): event is MouseEvent => { |
| 24 | return event instanceof MouseEvent |
no outgoing calls
no test coverage detected
searching dependent graphs…