OpenLayers v4.0.1 API - Class: Comparison

# Class: Comparison

This documentation is for OpenLayers v4.0.1. The latest is v.

## ol.format.filter.Comparison

Abstract class; normally only used for creating subclasses and not instantiated in apps. Base class for WFS GetFeature property comparison filters.

#### new ol.format.filter.Comparison(tagName, propertyName)

src/ol/format/filter/comparison.js, line 18

  Name | Type | Description
  --- | --- | ---
  `tagName` | string | The XML tag name for this filter.
  `propertyName` | string | Name of the context property to compare.

### Subclasses

- ol.format.filter.ComparisonBinary
- ol.format.filter.IsBetween
- ol.format.filter.IsLike
- ol.format.filter.IsNull

### Extends

- ol.format.filter.Filter