export const isBrowser = !!( typeof window !== 'undefined' && window.document && window.document.createElement ); export default isBrowser;