type-detect icon indicating copy to clipboard operation
type-detect copied to clipboard

Function issue (lowercase)

Open doasync opened this issue 8 years ago • 2 comments

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

doasync avatar Aug 11 '17 15:08 doasync

Related with #102 and #103

doasync avatar Aug 11 '17 15:08 doasync

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.

meeber avatar Aug 12 '17 00:08 meeber