Toggle navigation
VR AR News
beta
Blog
Suggest a feed
Feedback
About
Tuesday, 6 July, 2021
UTC
TypeScript: Array.includes on narrow types
Summary
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.
... more @ fettblog.eu
fettblog.eu