On this page

getDirectiveInExtensions

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

getDirectiveInExtensions(node, directiveName, pathToDirectivesInExtensions?): Record<string, any>[] | undefined

Defined in: packages/utils/src/get-directives.ts:27

Parameters

node

DirectableObject

directiveName

string

pathToDirectivesInExtensions?

string[] = ...

Returns

Record<string, any>[] | undefined