MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / isNonNull

Function isNonNull

packages/plugins/graphql/src/sdk/extract.ts:30–30  ·  view source on GitHub ↗
(ref: IntrospectionTypeRef)

Source from the content-addressed store, hash-verified

28
29/** Check if a type ref is non-null (required) */
30const isNonNull = (ref: IntrospectionTypeRef): boolean => ref.kind === "NON_NULL";
31
32// ---------------------------------------------------------------------------
33// Build shared definitions from all INPUT_OBJECT and ENUM types

Callers 3

buildDefinitionsFunction · 0.85
buildInputSchemaFunction · 0.85
extractFieldsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected