Remove synonym
This commit is contained in:
parent
7e5a907ce5
commit
39e7f70079
1 changed files with 0 additions and 6 deletions
|
|
@ -586,7 +586,6 @@ export class Pattern {
|
||||||
* inside haps.
|
* inside haps.
|
||||||
* @param {Function} value_test
|
* @param {Function} value_test
|
||||||
* @returns Pattern
|
* @returns Pattern
|
||||||
* @synonyms filtval
|
|
||||||
* @example
|
* @example
|
||||||
* const drums = s("bd sd bd sd")
|
* const drums = s("bd sd bd sd")
|
||||||
* kick: drums.filterValues((v) => v.s === 'bd').duck(2)
|
* 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);
|
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
|
* Returns a new pattern, with haps containing undefined values removed from
|
||||||
* query results.
|
* query results.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue