readded chooseIn due to mondough using it

This commit is contained in:
tyow
2026-03-25 15:36:26 -04:00
parent 8f1a0840c0
commit 3dff15eab0
+2
View File
@@ -599,6 +599,8 @@ export const chooseInWith = (pat, xs) => {
*/
export const choose = (...xs) => chooseWith(rand, xs);
export const chooseIn = (...xs) => chooseInWith(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