Function: validateWindow()
function validateWindow(
win?: WindowUsabilityCandidate | null,
context?: string
): boolean;
Defined in: main/window/windowValidation.ts:52
Validates that a BrowserWindow is usable and logs a structured warning when it is not.
Parametersβ
win?β
| WindowUsabilityCandidate
| null
context?β
string = "unknown operation"
Description of the operation requiring the window.
Returnsβ
boolean
True when the window can be used.