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

Document the return value of select() #18

Open
markstos opened this issue Aug 7, 2016 · 2 comments
Open

Document the return value of select() #18

markstos opened this issue Aug 7, 2016 · 2 comments

Comments

@markstos
Copy link

markstos commented Aug 7, 2016

Some examples of calling select() are shown, but there is no formal documentation of the object returned. Exactly what attributes and methods does it have? Is it always an array?

@markstos
Copy link
Author

Also, the return value when nothing is matches should be documented. Does it return an empty string? null? undefined? throw an error? Their is a lack of docs or examples for this case.

@markstos
Copy link
Author

I checked that there are currently also no tests for a failed match, either.

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

No branches or pull requests

1 participant