<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@datashaper/schema](./schema.md) &gt; [Criterion](./schema.criterion.md)

## Criterion interface

<b>Signature:</b>

```typescript
export interface Criterion 
```

## Properties

|  Property | Modifiers | Type | Description |
|  --- | --- | --- | --- |
|  [operator](./schema.criterion.operator.md) |  | [NumericComparisonOperator](./schema.numericcomparisonoperator.md) \| [StringComparisonOperator](./schema.stringcomparisonoperator.md) \| [BooleanComparisonOperator](./schema.booleancomparisonoperator.md) \| [DateComparisonOperator](./schema.datecomparisonoperator.md) | Filter operator to execute. Note the correct operator for the column data type must be used. |
|  [type](./schema.criterion.type.md) |  | [FilterCompareType](./schema.filtercomparetype.md) | Indicates whether the filter should be directly against a value, or against the value of another column |
|  [value?](./schema.criterion.value.md) |  | [Value](./schema.value.md) | <i>(Optional)</i> Comparison value for the column. Not required if the operator is self-defining (e.g., 'is empty') |

