Skip to content

ElectronRemote.getGlobal method

ElectronRemote › getGlobal

Unofficial

Returns the global variable of the given name from the main process.

Signature:

getGlobal(name: string): unknown

Parameters:

Parameter Type Description
name string The global variable name.

Returns: unknownThe requested global value.