MCPcopy Create free account
hub / github.com/melonjs/melonJS / compare

Function compare

packages/melonjs/src/utils/semver.ts:70–72  ·  view source on GitHub ↗
(a: string, b: string)

Source from the content-addressed store, hash-verified

68}
69
70export const compare = (a: string, b: string) => {
71 return new SemVer(a).compare(new SemVer(b));
72};

Callers 1

checkVersionFunction · 0.90

Calls 1

compareMethod · 0.80

Tested by

no test coverage detected