> For the complete documentation index, see [llms.txt](https://demystifyfp.gitbook.io/fstoolkit-errorhandling/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://demystifyfp.gitbook.io/fstoolkit-errorhandling/fstoolkit.errorhandling/option/transforms/ofvalueoption.md).

# ofValueOption

Namespace: `FsToolkit.ErrorHandling`

Transforms a `'T voption` value to `'T Option`.

## Function Signature

```fsharp
'T voption -> 'T Option
```

## Examples

### Example 1

```fsharp
let x : int voption = Some 1
let opt = Option.ofValueOption x
// Some 1
```

### Example 2

```fsharp
let x : int voption = None
let opt = Option.ofValueOption x
// None
```
