UNPKG

@helpscout/hsds-react

Version:

React component library for Help Scout's Design System

14 lines (10 loc) 351 B
"use strict"; exports.__esModule = true; exports.noop = noop; exports.isNodeEnv = void 0; function noop() {} var isNodeEnv = function isNodeEnv() { var process = window.process; return !!(typeof process !== 'undefined' && typeof process.title === 'string' && process.title.toLowerCase().indexOf('node') >= 0); }; exports.isNodeEnv = isNodeEnv;