check if an object is there in an array code example Example: if object is array javascript Array.isArray(object);