| OptionalValueModule|Missing|Present|T Method |
Complete active pattern that can be used to pattern match on `OptionalValue<T>`.
For example:
let optVal = OptionalValue(42)
match optVal with
| OptionalValue.Missing -> printfn "Empty"
| OptionalValue.Present(v) -> printfn "Contains %d" v
Namespace:
Deedle
Assembly:
Deedle (in Deedle.dll) Version: 1.2
Syntax Parameters
- optional
- Type: DeedleOptionalValueT
[Missing <param name="optional"/> documentation for "M:Deedle.OptionalValueModule.|Missing|Present|``1(Deedle.OptionalValue{``0})"]
Type Parameters
- T
Return Value
Type:
FSharpChoiceUnit,
T[Missing <returns> documentation for "M:Deedle.OptionalValueModule.|Missing|Present|``1(Deedle.OptionalValue{``0})"]
See Also