Method IsDefined
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
IsDefined(out T?)
Determines whether the optional has a value, and the value is non-null.
public bool IsDefined(out T? value)
Parameters
value
TThe value contained within the optional.
Returns
- bool
True if the value is set, and is not null, otherwise false.