Open History to see the last commit
1---
2id: inArray
3title: inArray
4---
5
6<!-- DO NOT EDIT: this page is autogenerated from the type comments -->
7
8# Function: inArray()
9
10```ts
11function inArray(value, array): BasicExpression<boolean>
12```
13
14Defined in: [packages/db/src/query/builder/functions.ts:124](https://github.com/TanStack/db/blob/main/packages/db/src/query/builder/functions.ts#L124)
15
16## Parameters
17
18### value
19
20`any`
21
22### array
23
24`any`
25
26## Returns
27
28`BasicExpression`\<`boolean`\>