UNPKG

graphql-request

Version:

Minimal GraphQL client supporting Node and browsers for scripts or simple apps.

11 lines 283 B
const name = `include`; export const parseClientDirectiveInclude = (input) => { const args = { if: typeof input === `boolean` ? input : input.if === undefined ? true : input.if, }; return { name, args, }; }; //# sourceMappingURL=include.js.map