-
Notifications
You must be signed in to change notification settings - Fork 49
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
Issue with example on the web page #65
Comments
@ashleydavis only if you pass Please let me know if that answered your question. |
The example above (from your README) implies that the last case will be matched and the value returned will be This doesn't happen. Instead, it returns So either your example is wrong or a bug has been introduced in the library which breaks this example. |
Thanks for this library, it's really nice.
If found an issue with an example on the web page.
If you run this code, nothing matches, it returns undefined:
I would have expected the 3rd case to match.
Did the library change and the docs haven't been updated?
The text was updated successfully, but these errors were encountered: