pub fn sharps_of(signature: &str) -> Result<IntegerType>Expand description
music21’s _sharpsFromAttr: the sharps a key.sig counts, flats
negative.
use music21::mei::step::sharps_of;
assert_eq!(sharps_of("3s").unwrap(), 3);
assert_eq!(sharps_of("3f").unwrap(), -3);
assert_eq!(sharps_of("0").unwrap(), 0);