is-plain-object icon indicating copy to clipboard operation
is-plain-object copied to clipboard

Still pass if constructor key is a primitive

Open mostekcm opened this issue 3 years ago • 1 comments

I added a test. If the constructor is a primitive, then this should still be considered a plain object because it isn't being created with a constructor.

mostekcm avatar Mar 25 '21 16:03 mostekcm

This fixes (or implements depending on whether you consider this a feature or a bug :) ): https://github.com/jonschlinkert/is-plain-object/issues/26

mostekcm avatar Mar 25 '21 19:03 mostekcm