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

length.md

28 lines409 Bytes

1---
2id: length
3title: length
4---
5​
6# Function: length()
7​
8```ts
9function length<T>(arg): NumericFunctionReturnType<T>;
10```
11​
12Defined in: [packages/db/src/query/builder/functions.ts:295](https://github.com/TanStack/db/blob/main/packages/db/src/query/builder/functions.ts#L295)
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`NumericFunctionReturnType`\<`T`\>