MCPcopy Create free account
hub / github.com/OneNoteDev/WebClipper / isEqualTo

Method isEqualTo

src/scripts/versioning/version.ts:20–22  ·  view source on GitHub ↗
(other: Version, ignorePatchUpdate?: boolean)

Source from the content-addressed store, hash-verified

18 }
19
20 public isEqualTo(other: Version, ignorePatchUpdate?: boolean): boolean {
21 return this.major === other.major && this.minor === other.minor && (ignorePatchUpdate || this.patch === other.patch);
22 }
23
24 public isGreaterThan(other: Version, ignorePatchUpdate?: boolean): boolean {
25 if (this.major !== other.major) {

Callers 3

isLesserThanOrEqualToMethod · 0.95
testsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected