Skip to main content
Latest
function parseConstValue
import { parseConstValue } from "https://deno.land/x/kilatgraphql@16.6.0-1/mod.ts";

Similar to parseValue(), but raises a parse error if it encounters a variable. The return type will be a constant value.

Parameters

source: string | Source
optional
options: ParseOptions | undefined