Module

x/graphql_deno/mod.ts>Lexer#lookahead

GraphQL-JS ported to Deno
Latest
method Lexer.prototype.lookahead
import { Lexer } from "https://dotland.deno.dev/x/graphql_deno@v15.0.0/mod.ts";

Looks ahead and returns the next non-ignored token, but does not change the state of Lexer.