HOME


sh-3ll 1.0
DIR:/proc/self/cwd/bright.medisavehealthcarebd.com/node_modules/es5-ext/object/
Upload File :
Current File : //proc/self/cwd/bright.medisavehealthcarebd.com/node_modules/es5-ext/object/ensure-plain-object.js
"use strict";

var safeToString  = require("../safe-to-string")
  , isPlainObject = require("./is-plain-object");

module.exports = function (value) {
	if (!isPlainObject(value)) throw new TypeError(safeToString(value) + " is not a plain object");
	return value;
};