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-thenable.js
"use strict";

var safeToString = require("../safe-to-string")
  , isThenable   = require("./is-thenable");

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