[**mutative**](../README.md) • **Docs**

***

[mutative](../README.md) / castDraft

# Function: castDraft()

> **castDraft**\<`T`\>(`value`): [`Draft`](../type-aliases/Draft.md)\<`T`\>

Cast a value to an Draft type value.

## Type Parameters

• **T**

## Parameters

• **value**: `T`

## Returns

[`Draft`](../type-aliases/Draft.md)\<`T`\>

## Defined in

[utils/cast.ts:6](https://github.com/unadlib/mutative/blob/7129237bc42b8475743ffff427a1f8f85e8e1e51/src/utils/cast.ts#L6)
