Skip to content
masterclass Buddy

GraphQL · Function

isInputType

GraphQL divides types into input types and output types. Scalars and enums can be used for both, while input objects are input-only and object, interface, and union types are output-only.

Last updated

Syntax

IsInputType(type)
IsOutputType(type)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • IsInputType
  • IsOutputType
  • Scalar
  • Enum
  • Input Object
  • Object
  • Interface
  • Union

Source: GraphQL Specification. Checked 2026-11-03.