Method Equals
- Namespace
- SodaFlow.Functional
- Assembly
- SodaFlow.Functional.dll
Equals(object?)
Gives true when the given object is also a Unit.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare against.
Returns
Remarks
There is only one value of this type, so any two instances are equal.
Equals(Unit)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Unit other)
Parameters
otherUnitAn object to compare with this object.