# FeatureFilter

Keeps the features whose decoded `field` equals one of `in`.

This is an interface exported by `@mapcairn/core`, checked against version 0.2.0.

## Signature

```ts
import type { FeatureFilter } from "@mapcairn/core";
 
interface FeatureFilter
```

## Properties

### field

```ts
readonly field: string;
```

The decoded field to test.

### in

```ts
readonly in: readonly (string | number)[];
```

The values that keep a feature. A feature whose field equals none of them is dropped.

Source: [packages/core/src/layers/definition.ts:213](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/layers/definition.ts#L213)
