mirror of
https://codeberg.org/uzu/strudel
synced 2026-09-04 14:51:26 -04:00
Remove synonym
This commit is contained in:
@@ -586,7 +586,6 @@ export class Pattern {
|
||||
* inside haps.
|
||||
* @param {Function} value_test
|
||||
* @returns Pattern
|
||||
* @synonyms filtval
|
||||
* @example
|
||||
* const drums = s("bd sd bd sd")
|
||||
* kick: drums.filterValues((v) => v.s === 'bd').duck(2)
|
||||
@@ -597,11 +596,6 @@ export class Pattern {
|
||||
return new Pattern((state) => this.query(state).filter((hap) => value_test(hap.value))).setSteps(this._steps);
|
||||
}
|
||||
|
||||
// synonym
|
||||
filtval(value_test) {
|
||||
this.filterValues(value_test);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a new pattern, with haps containing undefined values removed from
|
||||
* query results.
|
||||
|
||||
Reference in New Issue
Block a user