Open History to see the last commit
1---
2id: inArray
3title: inArray
4---
5
6```ts
7function inArray(value, array): BasicExpression<boolean>;
8```
9
10Defined in: [packages/db/src/query/builder/functions.ts:265](https://github.com/TanStack/db/blob/main/packages/db/src/query/builder/functions.ts#L265)
11
12## Parameters
13
14### value
15
16`ExpressionLike`
17
18### array
19
20`ExpressionLike`
21
22## Returns
23
24[`BasicExpression`](../@tanstack/namespaces/IR/type-aliases/BasicExpression.md)\<`boolean`\>