function isTouchEvent(event) {

  // check for TouchEvent being available first
  // (i.e. not available on desktop Firefox)
  return typeof TouchEvent !== 'undefined' && event instanceof TouchEvent;
}
@typedef {import('../../util/Types').Point} Point

@typedef {import('../../core/Canvas').default} Canvas
@typedef {import('../../core/ElementRegistry').default} ElementRegistry
@typedef {import('../../core/EventBus').default} EventBus
@typedef {import('../selection/Selection').default} Selection