# Class: GreaterThan

This documentation is for OpenLayers v10.9.0. The latest is v.

## ol/format/filter/GreaterThan~GreaterThan

    import GreaterThan from 'ol/format/filter/GreaterThan.js';

Represents a `<PropertyIsGreaterThan>` comparison operator.

#### new GreaterThan(propertyName, expression)

format/filter/GreaterThan.js, line 11

  Name | Type | Description
  --- | --- | ---
  `propertyName` | string | Name of the context property to compare.
  `expression` | number | The value to compare.

### Extends

- ComparisonBinary