# Class: Within

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

## ol/format/filter/Within~Within

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

Represents a `<Within>` operator to test whether a geometry-valued property is within a given geometry.

#### new Within(geometryName, geometry, srsName)

format/filter/Within.js, line 12

  Name | Type | Description
  --- | --- | ---
  `geometryName` | string | Geometry name to use.
  `geometry` | Geometry | Geometry.
  `srsName` | string | undefined | SRS name. No srsName attribute will be set on geometries when this is not provided.

### Extends

- Spatial