TryValue
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
Instance members
Instance member | Description |
tryValue.Exception
Signature:exn
|
Returns the exception captured by this value. When |
tryValue.HasValue
Signature:bool
|
Returns |
tryValue.Value
Signature:'T
|
Returns the value of |