UNPKG

@apollo/core-schema

Version:
17 lines 470 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.print = exports.test = exports.raw = exports.Raw = void 0; class Raw { constructor(text) { this.text = text; } } exports.Raw = Raw; const raw = (text) => new Raw(text); exports.raw = raw; exports.default = exports.raw; const test = (val) => val instanceof Raw; exports.test = test; const print = (raw) => raw.text; exports.print = print; //# sourceMappingURL=raw.js.map