Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
import { isTouchDevice } from './isTouchDevice';
import { isMobileWidth } from './mobileWidth';
/**
* Returns true if the device is likely in a mobile context.
* This checks for both a narrow screen width AND a primarily touch-based device.
* Use this for behavior that should differ on phones vs tablets/desktops.
*/
export function isMobile(): boolean {
return isMobileWidth() && isTouchDevice();
}