RPE Chart Utils
    Preparing search index...

    Function all

    • Returns a predicate that passes only when all supplied predicates return true (logical AND).

      Parameters

      Returns NotePredicate

      import { between, all } from './iterators';
      // Only real notes between beats 8 and 16
      noteIterator().addCondition(all(between(8, 16), (n) => n.isFake === 0));