isOne method

bool isOne()

Implementation

bool isOne() {
  final UcumDecimal one = UcumDecimal.one();
  return comparesTo(one) == 0;
}