Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

250 B
Raw Blame
import { createSignal } from 'solid-js';

const [isTouchDevice, setIsTouchDevice] = createSignal(false);

if (typeof window !== 'undefined') {
  setIsTouchDevice('ontouchstart' in window || navigator.maxTouchPoints > 0);
}

export { isTouchDevice };