Skip to main content
Module

x/graphql_deno/mod.ts>getVisitFn

GraphQL-JS ported to Deno
Latest
function getVisitFn
import { getVisitFn } from "https://deno.land/x/graphql_deno@v15.0.0/mod.ts";

Given a visitor instance, if it is leaving or not, and a node kind, return the function the visitor runtime should call.

Parameters

visitor: Visitor<any>
kind: string
isLeaving: boolean

Returns

Maybe<VisitFn<any>>