UNPKG

graphql-paper

Version:

A flexible in-memory store based on a GraphQL Schema

8 lines (6 loc) 188 B
'use strict'; function typeExists(graphqlSchema, typename) { return Boolean(graphqlSchema.getType(typename)); } exports.typeExists = typeExists; //# sourceMappingURL=type-exists.js.map