TSchemaDocument.FindDirective Method
Returns an existing directive with the specified name.
Remarks
Returns the directive with the specified name. If no directive with the name exists, returns nil.
Syntax
Unit: GraphQL.Schema
function TSchemaDocument.FindDirective(const Name: string): TSchemaDirectiveDefinition;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | Name | string | The name of the directive to be found. |