ElectronBrowserWindow.isDocumentEdited method
ElectronBrowserWindow › isDocumentEdited
Unofficial
Returns whether the window's document has been edited (macOS only).Signature:
isDocumentEdited(): booleanReturns: boolean — Whether the document has been edited.