The typescript documentation isn't exactly the easiest to understand to get an overview so it's nice that you have summarized everything into one post. And I really like the examples because they show the uses cases very well.
Thank you for the kind words! I tried to pick examples that actually matched places where I've used these type guards in the real-world. I think that really helps emphasize when and where these should be used.
I plan to keep the original post (on my blog) updated as new TS releases come out as well!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
The typescript documentation isn't exactly the easiest to understand to get an overview so it's nice that you have summarized everything into one post. And I really like the examples because they show the uses cases very well.
Thank you for the kind words! I tried to pick examples that actually matched places where I've used these type guards in the real-world. I think that really helps emphasize when and where these should be used.
I plan to keep the original post (on my blog) updated as new TS releases come out as well!