MCPcopy Create free account
hub / github.com/dfinity/orbit / toString

Method toString

apps/wallet/src/utils/helper.utils.ts:263–269  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

261 }
262
263 public toString(): string {
264 const preRelease = this.preReleaseType
265 ? `-${this.preReleaseType}${this.preReleaseNumber ?? 0}`
266 : '';
267 const build = this.build ? `+${this.build}` : '';
268 return `${this.major}.${this.minor}.${this.patch}${preRelease}${build}`;
269 }
270
271 public compare(other: SemanticVersion): number {
272 // Compare major, minor, and patch versions

Callers 15

i18n.config.tsFile · 0.80
blobToHumanReadableFunction · 0.80
arrayBufferToHexFunction · 0.80
formatBalanceFunction · 0.80
stringifyFunction · 0.80
constructorMethod · 0.80
routeAccessGuardFunction · 0.80
getDefaultServicesFunction · 0.80
hashStringFunction · 0.80
gitTagExistsFunction · 0.80
targetExistsFunction · 0.80
cargoProjectVersionFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected