I saw this post about the same question: What does the `is` keyword do in typescript? where they were asking about what the difference between boolean and \'type is \'. I di