Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

inArray.md

26 lines458 Bytes

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