MCPcopy
hub / github.com/ardatan/graphql-tools / normalize

Function normalize

packages/loaders/github/tests/schema-from-github.spec.ts:27–29  ·  view source on GitHub ↗
(doc: string)

Source from the content-addressed store, hash-verified

25`;
26
27function normalize(doc: string): string {
28 return print(parse(doc));
29}
30
31function assertNonMaybe<T>(input: T): asserts input is Exclude<T, null | undefined> {
32 if (input == null) {

Callers 1

Calls 2

printFunction · 0.85
parseFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…