isMainWindow
A Boolean value that indicates whether the window is the application’s main window.
Declaration
var isMainWindow: Bool { get }Discussion
The value of this property is true when the window is the main window for the application; otherwise, false.