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

createfieldmap.md

28 lines505 Bytes

1---
2id: createFieldMap
3title: createFieldMap
4---
5​
6<!-- DO NOT EDIT: this page is autogenerated from the type comments -->
7​
8# Function: createFieldMap()
9​
10```ts
11function createFieldMap<T>(values): { [K in string | number | symbol]: K }
12```
13​
14Defined in: [packages/form-core/src/utils.ts:537](https://github.com/TanStack/form/blob/main/packages/form-core/src/utils.ts#L537)
15​
16## Type Parameters
17​
18β€’ **T**
19​
20## Parameters
21​
22### values
23​
24`Readonly`\<`T`\>
25​
26## Returns
27​
28\{ \[K in string \| number \| symbol\]: K \}