2 lines
124 B
JavaScript
2 lines
124 B
JavaScript
const isPlainObject = val => !!val && typeof val === 'object' && val.constructor === Object;
|
|
module.exports = isPlainObject |