Interface DataStructure.IRemovable<T>
Property of a data structure (does it have a Romove method).
Namespace: Towel.DataStructures
Assembly: Towel.dll
Syntax
public interface IRemovable<T>
Type Parameters
Name | Description |
---|---|
T | The type of value. |
Methods
| Improve this Doc View SourceTryRemove(T)
Tries to remove a value.
Declaration
(bool Success, Exception? Exception) TryRemove(T value)
Parameters
Type | Name | Description |
---|---|---|
T | value | The value to remove. |
Returns
Type | Description |
---|---|
System.ValueTuple<System.Boolean, System.Nullable<Exception>> | True if the value was removed or false if not. |