Deedle


opt<'T>

Namespace: Deedle

A type alias for the OptionalValue<T> type. The type alias can be used to make F# type definitions that use optional values directly more succinct.

Instance members

Instance memberDescription
HasValue
Signature: bool

Gets a value indicating whether the current OptionalValue<T> has a value

Value
Signature: 'T

Returns the value stored in the current OptionalValue<T>. Exceptions: InvalidOperationException - Thrown when HasValue is false.

ValueOrDefault
Signature: 'T

Returns the value stored in the current OptionalValue<T> or the default value of the type T when a value is not present.

Static members

Static memberDescription
Missing
Signature: OptionalValue<'T>

Returns a new instance of OptionalValue<T> that does not contain a value.

Fork me on GitHub