source: trip-planner-front/node_modules/detect-node/index.js@ 6fe77af

Last change on this file since 6fe77af was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 186 bytes
Line 
1// Only Node.JS has a process variable that is of [[Class]] process
2module.exports = Object.prototype.toString.call(typeof process !== 'undefined' ? process : 0) === '[object process]';
Note: See TracBrowser for help on using the repository browser.