MonitorWrap.isValid

bool isValid()

Returns true if the monitor object corresponds to a physical monitor.

The monitor becomes invalid when the physical monitor is unplugged or removed.

Returns

true if the object corresponds to a physical monitor