eximiabots-radiox/client/funcs/isAuthorDev.js
2020-04-04 09:23:18 +03:00

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;
}