MCPcopy Create free account
hub / github.com/UI5/webcomponents / isTablet

Function isTablet

packages/base/src/Device.ts:167–170  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

165const isFirefox = (): boolean => internals.firefox;
166
167const isTablet = (): boolean => {
168 detectTablet();
169 return (internals.touch || isWindows8OrAbove()) && tablet;
170};
171
172const isPhone = (): boolean => {
173 return internals._isPhone();

Callers 5

_isMobileDeviceMethod · 0.85
_isMobileDeviceMethod · 0.85
isDesktopFunction · 0.85
isCombiFunction · 0.85

Calls 2

detectTabletFunction · 0.85
isWindows8OrAboveFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…