Whether you want to search for an item using strict comparison or a predicate, return a list of matching items, the first item, the index or just a boolean if the item exists, these 8 methods have got you covered!
In this video, I'll cover:
0:22 - predicates
1:14 - filter
1:38 - find
1:50 - findIndex
2:06 - indexOf
2:25 - lastIndexOf
2:50 - includes
3:02 - every
3:20 - some
3:30 - Extra Credit on the predicate
4:07 - Dumpling
I also wrote an article on this topic that you can read here:
[ Ссылка ]
Ещё видео!