pitchtools.is_pitch_carrier

abjad.tools.pitchtools.is_pitch_carrier.is_pitch_carrier(expr)[source]

New in version 1.1.

True when expr is an Abjad pitch, note, note-head of chord instance. Otherwise false:

abjad> note = Note("c'4")
abjad> pitchtools.is_pitch_carrier(note)
True

Return boolean.

Changed in version 2.0: renamed pitchtools.is_carrier() to pitchtools.is_pitch_carrier().

This Page