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