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