On this page

getLeadingCommentBlock

The getLeadingCommentBlock function exported by @graphql-tools/utils.

getLeadingCommentBlock(node): string | void

Defined in: packages/utils/src/comments.ts:470

Parameters

node

loc?

Location

Returns

string | void