"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.isPlainObject = isPlainObject;

function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }

function isPlainObject(obj) {
  // See for design: https://stackoverflow.com/questions/8511281/check-if-a-value-is-an-object-in-javascript/
  return _typeof(obj) === "object" && obj != null && Array.isArray(obj) === false && Object.prototype.toString.call(obj) === "[object Object]";
}