# InFilterValue

Canonical page: https://www.adaptabletools.com/docs/reference/infiltervalue

Item in the IN Column Filter

```ts title="TypeScript"
export interface InFilterValue<ValueType = any> 
```

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [children](https://www.adaptabletools.com/docs/reference/infiltervalue.md#children) | [`InFilterValue`](https://www.adaptabletools.com/docs/reference/infiltervalue.md)`<ValueType>[]` | Child items, used for a grouped or date tree. Selecting a parent selects its leaves. |
| [expressionFunction](https://www.adaptabletools.com/docs/reference/infiltervalue.md#expressionfunction) | `string` | Name of a no-input (unary, column-only) boolean AdapTable Expression<br/>Function to apply to *this* Column when the Item is selected — e.g.<br/>`'IS_BLANK'`, `'IS_POSITIVE'`, `'IS_YESTERDAY'`.<br/><br/>Instead of matching `value` literally in the `IN` list, AdapTable<br/>evaluates `<expressionFunction>([thisColumn])` and OR-combines it with<br/>the rest of the filter. AdapTable injects the Column, so the developer<br/>does not need to write any AQL.<br/><br/>The named function must be a known unary boolean Expression Function<br/>that is applicable to the Column&#39;s data type; otherwise the Item is<br/>skipped (with a console warning). |
| [label](https://www.adaptabletools.com/docs/reference/infiltervalue.md#label) | `string \| InFilterValueLabelFn` | Item&#39;s label.<br/><br/>Either a string, or a function that returns the label. The function is<br/>re-evaluated whenever filtering changes, so the label can embed live info<br/>(e.g. `visibleCount`) without `customInFilterValues` being called again:<br/><br/>The function receives the item&#39;s default  (same shape<br/>as `context.defaultValues`), looked up by `value`. |
| [level](https://www.adaptabletools.com/docs/reference/infiltervalue.md#level) | `number` | Depth of this item when the list is a tree. `0` is the root. |
| [tooltip](https://www.adaptabletools.com/docs/reference/infiltervalue.md#tooltip) | `boolean \| string` | Tooltip for Item (if true, the label is used as tooltip) |
| [value](https://www.adaptabletools.com/docs/reference/infiltervalue.md#value) | `ValueType` | The value of Item being shown.<br/><br/>Optional when `expressionFunction` is provided (the function name is<br/>then used as the item&#39;s identity). |

## Property Details

### children

Child items, used for a grouped or date tree. Selecting a parent selects its leaves.

```ts title="TypeScript"
children?: InFilterValue<ValueType>[];
```

###### Property Value

[`InFilterValue`](https://www.adaptabletools.com/docs/reference/infiltervalue.md)`<ValueType>[]`

### expressionFunction

Name of a no-input (unary, column-only) boolean AdapTable Expression
Function to apply to *this* Column when the Item is selected — e.g.
`'IS_BLANK'`, `'IS_POSITIVE'`, `'IS_YESTERDAY'`.

Instead of matching `value` literally in the `IN` list, AdapTable
evaluates `<expressionFunction>([thisColumn])` and OR-combines it with
the rest of the filter. AdapTable injects the Column, so the developer
does not need to write any AQL.

The named function must be a known unary boolean Expression Function
that is applicable to the Column&#39;s data type; otherwise the Item is
skipped (with a console warning).

```ts title="TypeScript"
expressionFunction?: string;
```

###### Property Value

`string`

### label

Item&#39;s label.

Either a string, or a function that returns the label. The function is
re-evaluated whenever filtering changes, so the label can embed live info
(e.g. `visibleCount`) without `customInFilterValues` being called again:
```tslabel: (item) => `${item.label} (${item.visibleCount})`
```
The function receives the item&#39;s default  (same shape
as `context.defaultValues`), looked up by `value`.

```ts title="TypeScript"
label: string | InFilterValueLabelFn;
```

###### Property Value

`string | InFilterValueLabelFn`

### level

Depth of this item when the list is a tree. `0` is the root.

```ts title="TypeScript"
level?: number;
```

###### Property Value

`number`

### tooltip

Tooltip for Item (if true, the label is used as tooltip)

```ts title="TypeScript"
tooltip?: boolean | string;
```

###### Property Value

`boolean | string`

### value

The value of Item being shown.

Optional when `expressionFunction` is provided (the function name is
then used as the item&#39;s identity).

```ts title="TypeScript"
value?: ValueType;
```

###### Property Value

`ValueType`
