Skip to main content

coerceInputValue

Callable

  • coerceInputValue(inputValue: unknown, type: GraphQLInputType, onError?: OnErrorCB): unknown

  • Coerces a JavaScript value given a GraphQL Input Type.


    Parameters

    Returns unknown