fix: remove duplicate

This commit is contained in:
Felix Roos
2023-08-11 00:48:00 +02:00
parent 6381a8deca
commit 60deb461b5
-7
View File
@@ -191,13 +191,6 @@ export const chooseInWith = (pat, xs) => {
*/
export const choose = (...xs) => chooseWith(rand, xs);
/**
* Chooses from the given list of values (or patterns of values), according
* to the pattern that the method is called on. The pattern should be in
* the range 0 .. 1.
* @param {...any} xs
* @returns {Pattern}
*/
Pattern.prototype.choose = function (...xs) {
return chooseWith(this, xs);
};