MonitorWrap.isValid

bool isValid() nothrow

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