UNPKG

@apollo/core-schema

Version:
8 lines 383 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.print = exports.test = void 0; const test = (val) => (val === null || val === void 0 ? void 0 : val.code) === 'Redirect'; exports.test = test; const print = (val, snap) => `${snap(val.gref)} => ${snap(val.toGref)} (via ${snap(val.via)})`; exports.print = print; //# sourceMappingURL=redirect.js.map