Struct fsOption<T>
Simple option type. This is akin to nullable types.
Syntax
public struct fsOption<T>
Type Parameters
Constructors
fsOption(T)
Declaration
Parameters
Type |
Name |
Description |
T |
value |
|
Fields
Empty
Declaration
public static fsOption<T> Empty
Field Value
Properties
HasValue
Declaration
public readonly bool HasValue { get; }
Property Value
IsEmpty
Declaration
public readonly bool IsEmpty { get; }
Property Value
Value
Declaration
public readonly T Value { get; }
Property Value
Extension Methods