How to Use Application Setting Values and Compare at Code Level

Const app setting values = ('123', '456','789')  //These values we are fetching from the app setting.

let hasTrue = appSettingValues.some(value => value === "put your input values" || value === "put your input values");

Instead of switching case statements, we can improve our code like this. 

Some compare config values and if they match then return true. 

Next Recommended Reading Get Set in TypeScript