UNPKG

graphql-mocks

Version:
23 lines (16 loc) 388 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var graphql = require('graphql'); function isInternalType(type) { if (graphql.isNamedType(type)) { type = type.name; } if (typeof type !== 'string') { return false; } return type.startsWith('__'); } exports.isInternalType = isInternalType; //# sourceMappingURL=is-internal-type.js.map