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

Add length option #18

Closed
wants to merge 7 commits into from
Closed

Add length option #18

wants to merge 7 commits into from

Conversation

ehmicky
Copy link
Collaborator

@ehmicky ehmicky commented Mar 15, 2019

Fixes #13.

The current implementation ignores the length option when it's not a function, as opposed to throw an error. Please let me know if it should throw an error instead.

Same comment for the value returned by the length option, when it does not return an integer.

test.js Outdated Show resolved Hide resolved
sindresorhus and others added 2 commits June 11, 2019 15:56
Co-Authored-By: Sindre Sorhus <sindresorhus@gmail.com>
@ehmicky
Copy link
Collaborator Author

ehmicky commented Jun 11, 2019

Closed in favor of #23

@ehmicky ehmicky closed this Jun 11, 2019
@ehmicky ehmicky deleted the feature/length branch June 11, 2019 09:43
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.

[PR proposal] Custom function.length
2 participants