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

inArray.md

24 lines435 Bytes

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:266](https://github.com/TanStack/db/blob/main/packages/db/src/query/builder/functions.ts#L266)
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`\>