Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
function semver.compareLoose
import { semver } from "https://deno.land/x/mongo@v0.31.1/tests/test.deps.ts";
const { compareLoose } = semver;

Parameters

a: string | SemVer
b: string | SemVer

Returns

1 | 0 | -1