isValid

open fun isValid(): Boolean(source)

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

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

Return

true if the object corresponds to a physical monitor