TypeScript Initial

This commit is contained in:
Christer Warén
2023-06-04 04:07:41 +03:00
parent 4d18468e96
commit 56f0ab5a40
39 changed files with 24 additions and 30 deletions

10
src/client/funcs/isDev.ts Normal file
View File

@ -0,0 +1,10 @@
module.exports = function isDev(devList, authorID){
let response = false;
Object.keys(devList).forEach(function(oneDev) {
let devID = devList[oneDev];
if(authorID == devID){
response = true;
}
});
return response;
}