Skip to content

checkIsMobileDevice()

Detects whether the current device should be treated as mobile based on the user agent.

Example:

ts
const isMobile = checkIsMobileDevice();

Released under the MIT License.