UNPKG

odata-client

Version:
16 lines (11 loc) 238 B
'use strict'; const escape = require('./escape'); module.exports = function(type, value) { this.type = type; this.value = value; }; module.exports.prototype.toString = function() { return `${this.type}${escape(this.value)}`; };