/**
 * @module  get-doc
 */

var hasDom = require('has-dom');

if (hasDom()) module.exports = document;
/**
 * @module  get-doc
 */

var hasDom = require('has-dom');

module.exports = hasDom() ? document : null;
Return null in case if there's no DOM