mirror of
https://github.com/idrainformatica/PecFlow.git
synced 2026-06-16 20:55:41 +02:00
fase 5
This commit is contained in:
+2
@@ -0,0 +1,2 @@
|
||||
module.exports.isNode = false;
|
||||
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
/**
|
||||
* returns true if the current environment is NodeJS
|
||||
*/
|
||||
export declare const isNode: boolean;
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
// Only Node.JS has a process variable that is of [[Class]] process
|
||||
module.exports.isNode = Object.prototype.toString.call(typeof process !== 'undefined' ? process : 0) === '[object process]';
|
||||
Reference in New Issue
Block a user