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

Function isApiVersioned

lib/all-versions.js:123–125  ·  view source on GitHub ↗
(version)

Source from the content-addressed store, hash-verified

121)
122
123export function isApiVersioned(version) {
124 return allVersions[version] && allVersions[version].apiVersions.length > 0
125}
126
127// Currently the versions from the OpenAPI do not match the versions on Docs.
128// There is a mapping between the version names. This gets the Docs version from

Callers 4

getFlatListOfOperationsFunction · 0.90
openapi-schema.jsFile · 0.90
rest.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected