Deedle


tryval<'T>

Namespace: Deedle

A type alias for the TryValue<T> type. The type alias can be used to make F# type declarations that explcitly handle exceptions more succinct.

Instance members

Instance memberDescription
x.Exception
Signature: exn

Returns the exception captured by this value. When HasValue = true, accessing the property throws InvalidOperationException.

CompiledName: get_Exception

x.HasValue
Signature: bool

Returns true when the TryValue<T> object represents a successfully calculated value

CompiledName: get_HasValue

x.Value
Signature: 'T

Returns the value of TryValue<T> when the value is present; otherwise, throws an exception that was captured

CompiledName: get_Value

Fork me on GitHub