export function isNode() {
  return typeof window === 'undefined' && typeof module !== 'undefined' && module.exports;
}

export function isNode() {
  // eslint-disable-next-line no-undef
  return typeof window === 'undefined' && typeof module !== 'undefined' && module.exports;
}

Disable eslint check for undefined module
Disable eslint check for undefined module
