# inArray

```ts
function inArray<L, R>(left, right): WithAggregate<BasicExpression<boolean>, [L, R]>;
```

Defined in: [packages/db/src/query/builder/functions.ts:325](https://github.com/TanStack/db/blob/main/packages/db/src/query/builder/functions.ts#L325)

## Type Parameters

### L

`L` *extends* `ExpressionLike`

### R

`R` *extends* `ExpressionLike`

## Parameters

### left

`L`

### right

`R`

## Returns

`WithAggregate`\<[`BasicExpression`](../@tanstack/namespaces/IR/type-aliases/BasicExpression.md)\<`boolean`\>, \[`L`, `R`\]\>
