Sindbad~EG File Manager

Current Path : /home/infinitibizsol/.trash/node_modules.4/es5-ext/
Upload File :
Current File : /home/infinitibizsol/.trash/node_modules.4/es5-ext/safe-to-string.js

"use strict";

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

module.exports = function (value) {
	try {
		if (value && isCallable(value.toString)) return value.toString();
		return String(value);
	} catch (e) {
		return "<Non-coercible to string value>";
	}
};

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