ResolveType<P extends GraphQLType<Object?, Object?>> typedef

ResolveType<P extends GraphQLType<Object?, Object?>> = String Function(Object result, P type, ObjectExecutionCtx)

A function that returns the name of one of the possible types of an given abstract type that matches the type for result.

Implementation

typedef ResolveType<P extends GraphQLType<Object?, Object?>> = String Function(
    Object result, P type, ObjectExecutionCtx);