Struct fsOption<T>
Simple option type. This is akin to nullable types.
Namespace: Unity.VisualScripting.FullSerializer.Internal
Syntax
public struct fsOption<T>
Type Parameters
| Name | Description | 
|---|---|
| T | 
Constructors
fsOption(T)
Declaration
public fsOption(T value)
Parameters
| Type | Name | Description | 
|---|---|---|
| T | value | 
Fields
Empty
Declaration
public static fsOption<T> Empty
Field Value
| Type | Description | 
|---|---|
| fsOption<T> | 
Properties
HasValue
Declaration
public bool HasValue { get; }
Property Value
| Type | Description | 
|---|---|
| Boolean | 
IsEmpty
Declaration
public bool IsEmpty { get; }
Property Value
| Type | Description | 
|---|---|
| Boolean | 
Value
Declaration
public T Value { get; }
Property Value
| Type | Description | 
|---|---|
| T |