We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The falsey pool parameter isn't working as intended. eg:
chance.falsy({pool: [null] });
That sometimes produces undefined, not sure if it's a bug - bug or the it is trying to also use undefined as a falsy value.
undefined
The text was updated successfully, but these errors were encountered:
fix: falsy returns undefined when it's not in pool
ec7b62c
fixes issue chancejs#522 it was picking undefined coz index was wrong
96b9321
fixes chancejs#522
fix: falsy returns undefined when it's not in pool (#523)
859e555
fixes issue #522 it was picking undefined coz index was wrong
No branches or pull requests
The falsey pool parameter isn't working as intended. eg:
chance.falsy({pool: [null] });
That sometimes produces
undefined
, not sure if it's a bug - bug or the it is trying to also use undefined as a falsy value.The text was updated successfully, but these errors were encountered: