Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/drash/src/services/graphql/graphql.ts>GraphQL.getDescription

A microframework for Deno's HTTP server with zero third-party dependencies
Go to Latest
function GraphQL.getDescription
Deprecated
import { GraphQL } from "https://deno.land/x/drash@v2.8.1/src/services/graphql/graphql.ts";
const { getDescription } = GraphQL;

Given an ast node, returns its string description.

Parameters

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

Returns

string | undefined