UNPKG

graphql-mocks

Version:
17 lines (12 loc) 290 B
import { isNamedType } from 'graphql'; function isInternalType(type) { if (isNamedType(type)) { type = type.name; } if (typeof type !== 'string') { return false; } return type.startsWith('__'); } export { isInternalType }; //# sourceMappingURL=is-internal-type.js.map