eximiabots-radiox/client/funcs/isDev.js

10 lines
258 B
JavaScript

module.exports = function (devList, authorID){
let response = false;
Object.keys(devList).forEach(function(oneDev) {
devID = devList[oneDev];
if(authorID == devID){
response = true;
}
});
return response;
}