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

Given a Path, return an Array of the path keys.

Parameters

path: Maybe<Readonly<Path>>

Returns

Array<string | number>