Skip to main content
Module

x/graphql_deno/lib/index.js>getLocation

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

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

Parameters

source
position