Module

x/graphql_deno/lib/index.d.ts>getLocation

GraphQL-JS ported to Deno
Latest
function getLocation
import { getLocation } from "https://dotland.deno.dev/x/graphql_deno@v15.0.0/lib/index.d.ts";

Takes a Source and a UTF-8 character offset, and returns the corresponding line and column as a SourceLocation.

Parameters

source: Source
position: number