Skip to Content
GraphQL Tools
DocumentationAPI@graphql-tools/utilssrcfunctionsgetLeadingCommentBlock

Function: getLeadingCommentBlock()

getLeadingCommentBlock(node): string | void

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

Parameters

node

loc?

Location

Returns

string | void