lib/utils/objectUtils.js
function isPlainObject(value) {
  return (
    isObject(value) &&
    (!value.constructor || value.constructor === Object) &&
    (!value.toString || value.toString === Object.prototype.toString)
  );
}
function isPlainObject(value) {
  return (
    isObject(value) &&
    (!value.constructor || value.constructor === Object) &&
    (!value.toString || value.toString === Object.prototype.toString)
  );
}
function isPlainObject ( value ) { return ( isObject ( value ) && ( ! value . constructor || value . constructor === Object ) && ( ! value . toString || value . toString === Object . prototype . toString ) ) ; }
Quick and dirty check if an object is a plain object and not for example an instance of some class.
Quick and dirty check if an object is a plain object and not for example an instance of some class .