OptionaluserAgent: string
Optional user-agent string. Defaults to the current browser's guarded navigator signals. An explicit string is classified by itself without current platform or touch information.
true for a recognized phone or handset-class device; otherwise
false. Returns false during SSR when no explicit user agent is available.
Check whether a user agent represents a mobile phone or handset-class device. Tablet devices are classified separately by isTablet.
The classifier recognizes iPhone and iPod user agents, Android user agents that contain the
Mobiletoken, and a boundedMobiletoken as a fallback for otherwise unknown clients. Stronger tablet signals take priority.