## toTypedValue() function

Returns a "best guess" TypedValue for a given value.

**Signature:**

```typescript
export declare function toTypedValue(value: unknown): TypedValue;
```

## Parameters

| Parameter | Type     | Description                               |
|-----------|----------|-------------------------------------------|
| value     | unknown  | The unknown value to check.               |

**Returns:**

[TypedValue](/content/docs/sdk/core.typedvalue)

A "best guess" TypedValue for the given value.
