of method

bool of(
  1. Unit<D> unit
)

Whether this measure is expressed in unit.

Implementation

bool of(Unit<D> unit) => unit == this.unit;