Open History to see the last commit
1---
2id: min
3title: min
4---
5
6# Function: min()
7
8```ts
9function min<T>(arg): AggregateReturnType<T>;
10```
11
12Defined in: [packages/db/src/query/builder/functions.ts:655](https://github.com/TanStack/db/blob/main/packages/db/src/query/builder/functions.ts#L655)
13
14## Type Parameters
15
16### T
17
18`T` *extends* `ExpressionLike`
19
20## Parameters
21
22### arg
23
24`T`
25
26## Returns
27
28`AggregateReturnType`\<`T`\>