"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.is_node = void 0; //================================================================ /** * @packageDocumentation * @module std */ //================================================================ var is_node_ = null; /** * Test whether the code is running on NodeJS. * * @return Whether NodeJS or not. */ function is_node() { if (is_node_ === null) is_node_ = typeof global === "object" && typeof global.process === "object" && typeof global.process.versions === "object" && typeof global.process.versions.node !== "undefined"; return is_node_; } exports.is_node = is_node; //# sourceMappingURL=node.js.map