Login
From:
oida.dev | TypeScript, Rust
(Uncensored)
subscribe
TypeScript: Array.includes on narrow types
https://oida.dev/typescript-array-includes/
links
backlinks
The Array.prototype.includes function allows searching for a value within an array. If this value is present, the function returns true! How handy! Of course, TypeScript has proper typings for this JavaScript functionality.
Roast topics
Find topics
Roast it!
Roast topics
Find topics
Find it!
Roast topics
Find topics
Find it!