Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dnit/deps.ts>semver.rcompare

dnit: typescript (deno) task executor
Go to Latest
function semver.rcompare
import { semver } from "https://deno.land/x/dnit@dnit-v1.14.3/deps.ts";
const { rcompare } = semver;

Parameters

v1: string | SemVer
v2: string | SemVer
optional
optionsOrLoose: boolean | Options

Returns

1 | 0 | -1