Functions
hasListType
- hasListType(type: GraphQLType): boolean
-
Parameters
Returns boolean
isInternalType
- isInternalType(type: GraphQLType | string): boolean
-
Parameters
-
type: GraphQLType | string
Returns boolean
isRootMutationType
- isRootMutationType(schema: GraphQLSchema, type: GraphQLType | string): boolean
-
Parameters
-
schema: GraphQLSchema
-
type: GraphQLType | string
Returns boolean
isRootQueryType
- isRootQueryType(schema: GraphQLSchema, type: GraphQLType | string): boolean
-
Parameters
-
schema: GraphQLSchema
-
type: GraphQLType | string
Returns boolean
listItemType
- listItemType(type: GraphQLType): GraphQLType
-
Parameters
Returns GraphQLType
unwrap
- unwrap(type: GraphQLType): UnwrappedType
-
Parameters
Returns UnwrappedType
Checks if a type is a list type or a wrapped list type (ie: wrapped with non-null)