RPE Chart Utils
    Preparing search index...

    Function any

    • Returns a predicate that passes when at least one of the supplied predicates returns true (logical OR).

      Parameters

      Returns NotePredicate

      import { between, any } from './iterators';
      // Affect notes in beat range 0–8 OR 16–24
      noteIterator().addCondition(any(between(0, 8), between(16, 24)));