Returns a predicate that passes when at least one of the supplied predicates returns true (logical OR).
true
import { between, any } from './iterators';// Affect notes in beat range 0–8 OR 16–24noteIterator().addCondition(any(between(0, 8), between(16, 24))); Copy
import { between, any } from './iterators';// Affect notes in beat range 0–8 OR 16–24noteIterator().addCondition(any(between(0, 8), between(16, 24)));
Returns a predicate that passes when at least one of the supplied predicates returns
true(logical OR).