We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26d5a2f commit 594327aCopy full SHA for 594327a
src/FSharpPlus/Extensions/ValueOption.fs
@@ -70,3 +70,8 @@ module ValueOption =
70
match pair with
71
| true, x -> ValueSome x
72
| false, _ -> ValueNone
73
+
74
+ let toOption x =
75
+ match x with
76
+ | ValueSome x -> Some x
77
+ | ValueNone -> None
0 commit comments