How to Check if a Value Exists in an Enum-Like Object in TypeScript | CodeTrail