Checks if the current device is a desktop computer. This is determined by checking if the device is NOT mobile (inverse of isMobile).
True if the device is a desktop, false otherwise
import { isDesktop } from '@consumidor-positivo/ts-utils';if (isDesktop()) { console.log('Running on desktop');} Copy
import { isDesktop } from '@consumidor-positivo/ts-utils';if (isDesktop()) { console.log('Running on desktop');}
Checks if the current device is a desktop computer. This is determined by checking if the device is NOT mobile (inverse of isMobile).