Detect that scheduler is in full screen mode

How can I detect in javascript, if scheduler is currently in full screen mode?