FunctionsvalueFromASTUntypedvalueFromASTUntyped CallablevalueFromASTUntyped(valueNode: ValueNode, variables?: Maybe<ObjMap<unknown>>): unknownProduces a JavaScript value given a GraphQL Value AST. Unlike valueFromAST(), no type is provided. The resulting JavaScript value will reflect the provided GraphQL value AST. GraphQL ValueJavaScript ValueInput ObjectObjectListArrayBooleanBooleanString / EnumStringInt / FloatNumberNullnullParametersvalueNode: ValueNodeoptionalvariables: Maybe<ObjMap<unknown>>Returns unknown
Produces a JavaScript value given a GraphQL Value AST.
Unlike
valueFromAST()
, no type is provided. The resulting JavaScript value will reflect the provided GraphQL value AST.