Sha256: 6dc508c1da958f5e11d3306258f49e618e39b33e074969331d7e63a3c718f3c6
Contents?: true
Size: 436 Bytes
Versions: 26
Compression:
Stored size: 436 Bytes
Contents
// src/index.ts function isNodeProcess() { if (typeof navigator !== "undefined" && navigator.product === "ReactNative") { return true; } if (typeof process !== "undefined") { const type = process.type; if (type === "renderer" || type === "worker") { return false; } return !!(process.versions && process.versions.node); } return false; } export { isNodeProcess }; //# sourceMappingURL=index.mjs.map
Version data entries
26 entries across 26 versions & 1 rubygems