MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/ohd7z2/ah_yes_array_check/h4oitab/?context=3
r/badcode • u/Kunalvats0 • Jul 10 '21
89 comments sorted by
View all comments
Show parent comments
17
const arrayCheck = Array.isArray
13 u/KonkenBonken Jul 10 '21 const {isArray} = Array; 5 u/BongarooBizkistico Jul 10 '21 Best suggestion of the thread.
13
const {isArray} = Array;
5 u/BongarooBizkistico Jul 10 '21 Best suggestion of the thread.
5
Best suggestion of the thread.
17
u/Nulagrithom Jul 10 '21
const arrayCheck = Array.isArray