10 lines
243 B
JavaScript
Raw Normal View History

2025-04-23 09:34:08 +08:00
var value = require('./value.js');
// Provide an unwrapping proxy for automatic string coercion in engine
// operations such as JSON stringification.
function toString(wrapper) {
return String(value(wrapper));
}
module.exports = toString;