ethstats-server/web-app/.meteor/local/build/programs/server/boot-utils.js
2015-08-14 19:22:53 +02:00

8 lines
192 B
JavaScript

// Separated from boot.js for testing.
// Check that we have a pid that looks like an integer (non-decimal
// integer is okay).
exports.validPid = function (pid) {
return ! isNaN(+pid);
};