Skip to content

Function: isTablet()

ts
function isTablet(): boolean;

Returns true if the user agent indicates a tablet device.

Returns

boolean

Example

ts
isTablet() // true on iPad or Android tablet

Since

1.0.0

Released under the MIT License.