Hacker News new | ask | show | jobs
by methyl 1992 days ago
> 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...