Login
Roast topics
Find topics
Find it!
From:
duncanleung.com
(Uncensored)
subscribe
Using TypeScript Type Guards – Duncan Leung
https://duncanleung.com//typescript-type-guards/
links
backlinks
Tagged with:
typescript
Roast topics
Find topics
Roast it!
I've been appreciating a TypeScript pattern called type-guards. Type-guards provide type-safety by performing a runtime check to ensure a…