topkat-utils
Version:
A comprehensive collection of TypeScript/JavaScript utility functions for common programming tasks. Includes validation, object manipulation, date handling, string formatting, and more. Zero dependencies, fully typed, and optimized for performance.
13 lines • 353 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isNodeJs = void 0;
function isNodeJs() {
try {
return (typeof process !== 'undefined') && (typeof process.versions.node !== 'undefined');
}
catch (e) {
return false;
}
}
exports.isNodeJs = isNodeJs;
//# sourceMappingURL=is-nodejs.js.map