Skip to content
New issue

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

Allow results with a value of 0 to be returned #73

Closed
wants to merge 1 commit into from
Closed

Allow results with a value of 0 to be returned #73

wants to merge 1 commit into from

Conversation

kylehalleman
Copy link

Fixes issue #65.

Changes conditional check to allow values of 0, but not allow undefined or null.

This is my first pull request and I know the Readme asks for tests to be added, but I wasn't quite sure how to do that for this fix. If you could advise, I'll be glad to update the request with appropriate tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants