# EmailSearchComparator

An RFC 8620 §5.5 Comparator: {property, isAscending?, keyword?}. property is one of receivedAt|size|sentAt|from|subject|hasKeyword (a hasKeyword comparator…

An RFC 8620 §5.5 Comparator: \{property, isAscending?, keyword?\}. property is one of receivedAt|size|sentAt|from|subject|hasKeyword (a hasKeyword comparator also needs `keyword`).

```ts
/** An RFC 8620 §5.5 Comparator: {property, isAscending?, keyword?}. property is one of receivedAt|size|sentAt|from|subject|hasKeyword (a hasKeyword comparator also needs `keyword`). */
type EmailSearchComparator = Record<string, unknown>
```

## Used in

[`EmailSearchRequest`](/docs/sdks/typescript/types/email-search-request).
