Open History to see the last commit
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 \}