Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Or if you need to check if the array has exactly 3 items. How would you do that in TS?

Like that: https://www.typescriptlang.org/play?#code/C4TwDgpgBAKgFgJwhA...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: