# FilterGroupDescriptor (@salmonui/data-grid/engine)

> The FilterGroupDescriptor interface of @salmonui/data-grid/engine: Nested AND/OR group: predicate combines its members ({ predicate: 'or', filters: [A, B] } is A OR B); member predicates are ignored. A top-level group is ANDed with the other top-level entries; a nested group is one member of its parent.

Canonical: https://salmonui.dev/docs/reference/data-grid/engine/FilterGroupDescriptor

```ts
import type { FilterGroupDescriptor } from '@salmonui/data-grid/engine';
```

Entry index: https://salmonui.dev/docs/reference/data-grid/engine (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data-grid/engine.md).

## Reference

Kind: interface

```ts
interface FilterGroupDescriptor {
    readonly kind: 'group';
    readonly predicate: 'and' | 'or';
    readonly not?: boolean;
    readonly filters: readonly FilterEntry[];
    readonly source?: FilterSource;
}
```

Nested AND/OR group: `predicate` combines its members (`{ predicate: 'or',
filters: [A, B] }` is A OR B); member
predicates are ignored. A top-level group is ANDed with the other
top-level entries; a nested group is one member of its parent.

Members (5):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `kind` | `readonly kind: 'group';` |  |  |
| `predicate` | `readonly predicate: 'and' \| 'or';` |  |  |
| `not` | `readonly not?: boolean;` | optional | Negates the combined group: NOT (A AND B). |
| `filters` | `readonly filters: readonly FilterEntry[];` |  |  |
| `source` | `readonly source?: FilterSource;` | optional |  |
