How to Check Whether an Array Contains a String in TypeScript | CodeTrail