DataType.opEquals

bool opEquals(const DataType other) const @safe pure nothrow

Logical equality: same kind and same unit, independent of how the value was constructed.

Parameters

otherthe type to compare with

Returns

true when both the kind and the unit match.