"use strict";

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

function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _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]";
}