elementsCarryVoiceNumber property

bool get elementsCarryVoiceNumber

True when every Note/Chord in this voice already declares voice == number.

A null voice does not count as carrying the number, not even for voice 1: it only means "unassigned". Returns true for a voice that contains no notes or chords.

Implementation

bool get elementsCarryVoiceNumber => validate().isEmpty;