GraphQL · Function
isOutputType
isOutputType tells whether a GraphQL type can be used as a field's return type. It accepts output named types and recursively accepts list or non-null wrappers around them.
Last updated
Syntax
IsOutputType(type)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
IsInputTypeIsSubTypeListTypeNonNullTypeScalarTypeDefinitionObjectTypeDefinitionInterfaceTypeDefinitionUnionTypeDefinition