code: function isArray(obj) {
      return (obj && typeof obj === OBJECT && typeof obj.length === NUMBER && !(obj.propertyIsEnumerable(LENGTH)));
    }
docs: Check an object is an array or not. An array is something like [].