@mica/sdk (SDK contract v1)
    Preparing search index...

    Function isBrowser

    • Whether this is a plain browser tab, as opposed to FiveM's CEF.

      false for headless, and that is an answer rather than a fallback: no window is definitively not a browser tab. Every consumer whose CEF branch could do harm without a DOM was read for this (MICA-177) and either guards typeof window itself (shell/state/audio.ts), returns early on the CEF side, is component markup that cannot render headless anyway, or — the one that mattered — asks hostRuntime() and refuses out loud: web/src/nui/transport.ts will not pick a transport for a headless runtime, because a node test that reaches the transport without setTransport() is a test-configuration mistake and should read as one.

      Returns boolean