MCPcopy Create free account
hub / github.com/angular/dev-infra / isVersionBranch

Function isVersionBranch

ng-dev/release/versioning/version-branches.ts:91–93  ·  view source on GitHub ↗
(branchName: string)

Source from the content-addressed store, hash-verified

89
90/** Whether the given branch corresponds to a version branch. */
91export function isVersionBranch(branchName: string): boolean {
92 return versionBranchNameRegex.test(branchName);
93}
94
95/**
96 * Gets the version branches for the specified major versions in descending

Calls

no outgoing calls

Tested by

no test coverage detected