ElectronBrowserWindow.isClosable method
ElectronBrowserWindow › isClosable
Unofficial
Returns whether the window can be manually closed by user. On Linux always returnstrue (macOS and Windows). Signature:
isClosable(): booleanReturns: boolean — Whether the window is closable.