Tutorial: Window.isMainWindow

Window.isMainWindow

Determines if the window is a main window.

Example

const wnd = fin.Window.getCurrentSync();
const isMainWnd = wnd.isMainWindow();
console.log('Is this a main window? ' + isMainWnd);