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

## guessFieldTypeFromValue() function

### guessFieldTypeFromValue() function

Given a value this will guess the best column type

TODO: better Date/Time support! Look for standard date strings?

<b>Signature</b>

```typescript
export declare function guessFieldTypeFromValue(v: any): FieldType;
```
<b>Import</b>

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

|  Parameter | Type | Description |
|  --- | --- | --- |
|  v | <code>any</code> |  |

<b>Returns:</b>

`FieldType`

