+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "guessFieldTypeForField"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
draft = true
+++

## guessFieldTypeForField() function

### guessFieldTypeForField() function

Looks at the data to guess the column type. This ignores any existing setting

<b>Signature</b>

```typescript
export declare function guessFieldTypeForField(field: Field): FieldType | undefined;
```
<b>Import</b>

```typescript
import { guessFieldTypeForField } from '@grafana/data';
```
<b>Parameters</b>

|  Parameter | Type | Description |
|  --- | --- | --- |
|  field | <code>Field</code> |  |

<b>Returns:</b>

`FieldType | undefined`

