@apollo/core-schema
Version:
Apollo Core Schema processing library
11 lines • 431 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.print = exports.test = void 0;
const gref_1 = require("../gref");
const link_url_1 = require("../link-url");
const test = (val) => val instanceof gref_1.GRef
|| val instanceof link_url_1.LinkUrl;
exports.test = test;
const print = (val) => `${val.constructor.name} <${val.toString()}>`;
exports.print = print;
//# sourceMappingURL=gref.js.map