isNode
Determines if the current runtime environment is Node.js.
- Use the
process
global object that provides information about the current Node.js process. - Check if
process
,process.versions
andprocess.versions.node
are defined.
Determines if the current runtime environment is Node.js.
process
global object that provides information about the current Node.js process.process
, process.versions
and process.versions.node
are defined.