Method FromNoValue
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
FromNoValue<T>()
Creates a new empty Optional<T> with no value and invalid state.
public static Optional<T> FromNoValue<T>()
Returns
- Optional<T>
Created optional.
Type Parameters
T
The type that the created instance is wrapping around.