is_gui

Function is_gui 

Source
pub fn is_gui() -> bool
Expand description

Is the workspace running with its main GUI, regardless of the output mode? Output mode may be browser VM, native window, HTML frames to a browser, headless, etc.