How can I check if an object is an array?

Subscribers:
4,110
Published on ● Video Link: https://www.youtube.com/watch?v=YgQPr8l1MEA



Duration: 4:28
22 views
0


How can I check if an object is an array? [duplicate]
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA |
Thanks to all those great people for their contributions!

(stackoverflow.com/users/65387/mpen)mpen |
(stackoverflow.com/users/113716/user113716)user113716 |
(stackoverflow.com/users/1494793/fela)Fela |
(stackoverflow.com/users/156142/chaospandion)ChaosPandion |
(stackoverflow.com/users/1171193/janr)janr |
(stackoverflow.com/users/2279116/shinobi)shinobi |
A special thanks goes out to the (https://stackoverflow.com/questions/4775722/how-can-i-check-if-an-object-is-an-array)Stackexchange community |

I wish you all a wonderful day! Stay safe :)

javascript javascript-objects arrays







Tags:
javascript
javascript-objects
arrays