MCPcopy Index your code
hub / github.com/github/docs / getGraphqlVersion

Function getGraphqlVersion

src/graphql/lib/index.js:85–90  ·  view source on GitHub ↗
(version)

Source from the content-addressed store, hash-verified

83}
84
85function getGraphqlVersion(version) {
86 if (!(version in allVersions)) {
87 throw new Error(`Unrecognized version '${version}'. Not found in ${Object.keys(allVersions)}`)
88 }
89 return allVersions[version].miscVersionName
90}

Callers 4

getGraphqlSchemaFunction · 0.85
getPreviewsFunction · 0.85
getMiniTocFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected