mesqueeb / is-what

JS type check (TypeScript supported) functions like `isPlainObject() isArray()` etc. A simple & small integration.
https://mesqueeb.github.io/is-what/
MIT License
169 stars 18 forks source link

fix: update isPlainObject method to account for 'constructor' key #24

Closed Rigidoont closed 1 year ago

Rigidoont commented 1 year ago

isPlainObject method should return true even when the plain object has its own constructor property.