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