Skip to content

A local-first personal finance app

162 B
Raw Blame
export function isTouchDevice(): boolean {
  return (
    window.matchMedia('(hover: none)').matches ||
    window.matchMedia('(pointer: coarse)').matches
  );
}