Skip to content
masterclass Buddy

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.

Subscribe
  • IsInputType
  • IsSubType
  • ListType
  • NonNullType
  • ScalarTypeDefinition
  • ObjectTypeDefinition
  • InterfaceTypeDefinition
  • UnionTypeDefinition

Source: GraphQL Specification, September 2025. Checked 2026-11-03.