linwenling
2023-10-10 92e57c0b6bda819b23b2f25cd5eb14b45ec275f6
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]';