linwenling
2023-08-27 188d4a764d8bcedf53ac67127b4b9e142f79b1eb
1
2
// Only Node.JS has a process variable that is of [[Class]] process
module.exports = Object.prototype.toString.call(typeof process !== 'undefined' ? process : 0) === '[object process]';