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

Function: getDirectiveInExtensions()

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