Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/graphql_ts/src/jsutils/Path.d.ts>addPath

A reference implementation of GraphQL for JavaScript
Latest
function addPath
import { addPath } from "https://deno.land/x/graphql_ts@v15.0.0/src/jsutils/Path.d.ts";

Given a Path and a key, return a new Path containing the new key.

Parameters

prev: Path | undefined
key: string | number