MCPcopy Create free account
hub / github.com/alignoth/alignoth / compare

Method compare

resources/vega-embed.min.js:960–971  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

958 return this.version;
959 }
960 compare(t) {
961 if (
962 (e("SemVer.compare", this.version, this.options, t),
963 !(t instanceof s))
964 ) {
965 if ("string" == typeof t && t === this.version) return 0;
966 t = new s(t, this.options);
967 }
968 return t.version === this.version
969 ? 0
970 : this.compareMain(t) || this.comparePre(t);
971 }
972 compareMain(e) {
973 return (
974 e instanceof s || (e = new s(e, this.options)),

Callers 2

vega.min.jsFile · 0.80
IeFunction · 0.80

Calls 3

compareMainMethod · 0.95
comparePreMethod · 0.95
eFunction · 0.85

Tested by

no test coverage detected