Click or drag to resize

SIUnitEquals(IUnit) Method

Compares this unit with another unit obj and returns true if both are equal. To be equal, the other unit has to be (i) a SI unit, and (ii) the same name. Thus, J (Joule) and Nm (Newtonmeter) are not considered equal.

Namespace: Altaxo.Units
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public bool Equals(
	IUnit? obj
)

Parameters

obj  IUnit
The other unit.

Return Value

Boolean
True when both units are equal.

Implements

IEquatableTEquals(T)
See Also