Skip to content

isNative

isNative(): boolean

Defined in: platform/base.ts:88

Check if running on a native host (embedded Dawn + JS engine on iOS/Android). Native has no DOM: offscreen canvas/image throw, textures come from the pixel-decode path (loadImagePixels), and lifecycle/safe-area treat it like a headless-but-visible host rather than the web DOM branch.

boolean