Skip to main content

isMobile

A function to check if this is a mobile environment.


Interface

const isMobile: () => boolean

Usage

import { isMobile } from '@devgrace/utils';

if (isMobile()) {
/* mobile environment */
}