TryValue<'T> Type
Represents a value or an exception. This type is used by functions such as `Series.tryMap` and `Frame.tryMap` to capture the result of a lambda function, which may be either a value or an exception. The type is a discriminated union, so it can be processed using F# pattern matching, or using `Value`, `HasValue` and `Exception` properties
Union cases
| Union case |
Description
|
Full Usage:
Error exn
Parameters:
exn
|
|
Full Usage:
Success 'T
Parameters:
'T
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.Exception
Returns: exn
|
Returns the exception captured by this value. When `HasValue = true`, accessing the property throws `InvalidOperationException`.
|
Full Usage:
this.HasValue
Returns: bool
|
Returns `true` when the `TryValue
|
Full Usage:
this.IsError
Returns: bool
|
|
Full Usage:
this.IsSuccess
Returns: bool
|
|
Full Usage:
this.Value
Returns: 'T
|
Returns the value of `TryValue
|
Deedle