isCompatible method

bool isCompatible(
  1. Unit<D> other
)

Whether this unit is compatible with other.

Implementation

bool isCompatible(Unit<D> other) => dim.isCompatible(other.dim);