Typescript Check If Value Exist In Array Literal And Inferential Questions