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

Option naming #6

Closed
Richienb opened this issue Mar 22, 2024 · 2 comments
Closed

Option naming #6

Richienb opened this issue Mar 22, 2024 · 2 comments

Comments

@Richienb
Copy link
Contributor

Is there a specific motivation for naming the options start and end instead of something more conventional like min and max?

inRange(x, {min: 5, max: 10});

Am researching for implementing in ava

// @sindresorhus

@sindresorhus
Copy link
Owner

A range has a start and end. See the Python range() function, for example.

@Richienb
Copy link
Contributor Author

Thank you

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

2 participants