MCPcopy Index your code
hub / github.com/ionic-team/ionic-framework / isHybrid

Function isHybrid

core/src/utils/platform.ts:96–96  ·  view source on GitHub ↗
(win: Window)

Source from the content-addressed store, hash-verified

94const isDesktop = (win: Window) => !isMobile(win);
95
96const isHybrid = (win: Window) => isCordova(win) || isCapacitorNative(win);
97
98const isCordova = (win: any): boolean => !!(win['cordova'] || win['phonegap'] || win['PhoneGap']);
99

Callers 1

isMobileWebFunction · 0.85

Calls 2

isCordovaFunction · 0.85
isCapacitorNativeFunction · 0.85

Tested by

no test coverage detected