Sindbad~EG File Manager

Current Path : /home/infinitibizsol/.trash/node_modules.5/es5-ext/object/
Upload File :
Current File : /home/infinitibizsol/.trash/node_modules.5/es5-ext/object/validate-stringifiable.js

"use strict";

var isCallable = require("./is-callable");

module.exports = function (stringifiable) {
	try {
		if (stringifiable && isCallable(stringifiable.toString)) return stringifiable.toString();
		return String(stringifiable);
	} catch (e) {
		throw new TypeError("Passed argument cannot be stringifed");
	}
};

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists