Struct fsOption<T>
Simple option type. This is akin to nullable types.
Inherited Members
Namespace: Unity.VisualScripting.FullSerializer.Internal
Assembly: Unity.VisualScripting.Core.dll
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 |
|---|---|
| bool |
IsEmpty
Declaration
public bool IsEmpty { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Value
Declaration
public T Value { get; }
Property Value
| Type | Description |
|---|---|
| T |