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

Function isDesktop

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

Source from the content-addressed store, hash-verified

174};
175
176const isDesktop = (): boolean => {
177 if (isSSR) {
178 return false;
179 }
180 return (!isTablet() && !isPhone()) || isWindows8OrAbove();
181};
182
183const isCombi = (): boolean => {
184 return isTablet() && isDesktop();

Callers 15

CheckBoxTemplateFunction · 0.85
onEnterDOMMethod · 0.85
classesMethod · 0.85
onEnterDOMMethod · 0.85
_isMobileDeviceMethod · 0.85
_iconModeMethod · 0.85
_iconModeMethod · 0.85
onEnterDOMMethod · 0.85
onEnterDOMMethod · 0.85
onEnterDOMMethod · 0.85
RadioButtonTemplateFunction · 0.85
onEnterDOMMethod · 0.85

Calls 3

isTabletFunction · 0.85
isPhoneFunction · 0.85
isWindows8OrAboveFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…