Skip to main content
Module

x/graphql_deno/mod.ts>getDescription

GraphQL-JS ported to Deno
Latest
function getDescription
Deprecated
import { getDescription } from "https://deno.land/x/graphql_deno@v15.0.0/mod.ts";

Given an ast node, returns its string description.

Parameters

node: { readonly description?: StringValueNode; readonly loc?: Location; }
optional
options: Maybe<{ commentDescriptions?: boolean; }>

Returns

string | undefined