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