isConcertPitch property

bool get isConcertPitch

True when this declaration leaves the pitch unchanged.

Implementation

bool get isConcertPitch => diatonic == 0 && semitones == 0;