UNPKG

mout

Version:

Modular Utilities

14 lines (10 loc) 278 B
define(function () { /** * Checks if the value is created by the `Object` constructor. */ function isPlainObject(value) { return (!!value && typeof value === 'object' && value.constructor === Object); } return isPlainObject; });