ethstats-server/web-app/.meteor/local/build/programs/server/boot-utils.js

8 lines
192 B
JavaScript
Raw Normal View History

2015-08-14 19:22:53 +02:00
// 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);
};