'T voption Type
The type of optional values, represented as structs.
Use the constructors ValueSome
and ValueNone
to create values of this type.
Use the values in the ValueOption
module to manipulate values of this type,
or pattern match against the values directly.
Instance members
Instance member |
Description
|
|
Return 'true' if the value option is a 'ValueNone' value.
|
|
Return 'true' if the value option is a 'ValueSome' value.
|
|
|
|
|
Full Usage:
this.Value
Returns: 'T
|
Get the value of a 'ValueSome' option. An InvalidOperationException is raised if the option is 'ValueNone'.
|