how to check is arrray or not in nodejs code example Example: in javascript check is is an array or not Array.isArray(yourItem)