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

Function issue (lowercase) #106

Open
doasync opened this issue Aug 11, 2017 · 2 comments
Open

Function issue (lowercase) #106

doasync opened this issue Aug 11, 2017 · 2 comments

Comments

@doasync
Copy link

doasync commented Aug 11, 2017

function is not primitive so you should definitely return 'Function' instead

@doasync doasync changed the title function lowercase issue Function issue (lowercase) Aug 11, 2017
@doasync
Copy link
Author

doasync commented Aug 11, 2017

Related with #102 and #103

@meeber
Copy link
Contributor

meeber commented Aug 12, 2017

I could go either way with this one. On the one hand, typeof someFn === "function". On the other hand, it seems to be type-detect's mission to be consistent with itself rather than consistent with the oft-inconsistent ECMAScript.

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