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

and.md

59 lines820 Bytes

1---
2id: and
3title: and
4---
5​
6<!-- DO NOT EDIT: this page is autogenerated from the type comments -->
7​
8# Function: and()
9​
10## Call Signature
11​
12```ts
13function and(left, right): BasicExpression<boolean>
14```
15​
16Defined in: [packages/db/src/query/builder/functions.ts:77](https://github.com/TanStack/db/blob/main/packages/db/src/query/builder/functions.ts#L77)
17​
18### Parameters
19​
20#### left
21​
22`any`
23​
24#### right
25​
26`any`
27​
28### Returns
29​
30`BasicExpression`\<`boolean`\>
31​
32## Call Signature
33​
34```ts
35function and(
36 left,
37 right, ...
38rest): BasicExpression<boolean>
39```
40​
41Defined in: [packages/db/src/query/builder/functions.ts:81](https://github.com/TanStack/db/blob/main/packages/db/src/query/builder/functions.ts#L81)
42​
43### Parameters
44​
45#### left
46​
47`any`
48​
49#### right
50​
51`any`
52​
53#### rest
54​
55...`any`[]
56​
57### Returns
58​
59`BasicExpression`\<`boolean`\>