'use strict';

/**
 * 判断是否处于全屏显示状态
 * @returns {boolean}
 */
function isFullscreen() {
  return !!(document.fullscreenElement || document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement);
}

module.exports = isFullscreen;
