Get monitor count?


#1

Is there a way to detect how many monitors are attached to the computer? I can do this natively on both OSX and Windows but they both require system calls.


#2

the length of the array should indicate the number of attached displays.


#3

Thank you! My search skills couldn’t seem to find that.