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.
SubscribeRelated
IsInputTypeIsOutputTypeScalarEnumInput ObjectObjectInterfaceUnion