papi-dts
    Preparing search index...

    Variable windowIdExperimental

    windowId: string | undefined

    Id of the window this code is running in, as the platform assigns them. Set from the URL search params in the renderer process, and undefined outside a window — which is how code shared with the extension host tells the two apart, so test it against undefined rather than for truthiness.

    The same id names this window everywhere else: in platform.getWindows, in a move's targetWindowId, and in main. No window is ever given an id another window has had, in this run of the app or any earlier one on the same profile.