UNPKG

grafast

Version:

Cutting edge GraphQL planning and execution engine

13 lines 422 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.get = get; const access_js_1 = require("./access.js"); /** * Call `$step.get(attr)` if possible, falling back to `access($step, attr)`. */ function get($step, attr) { return "get" in $step && typeof $step.get === "function" ? $step.get(attr) : (0, access_js_1.access)($step, attr); } //# sourceMappingURL=get.js.map