type__error’s Twitter Archive
—№ 10,549
⇤ Newest
Tweet
⇠ Newer
Tweet
Older
Tweet
⇢
…in reply to @bitandbang
bitandbang
myArray.some(item => item.a = a && item.b=b etc) should do it
Permalink
On twitter.com
❤️ 6
Favorites
2021 Apr 8
Mood
0
…in reply to @type__error
bitandbang
It’ll return true if any objects in the array satisfy those criteria
On twitter.com
❤️ 3
Favorites
2021 Apr 8
Mood +
2
🙂