Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/windmill/node_modules/denoify/src/tools/Version.ts>Version.compare

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
function Version.compare
import { Version } from "https://deno.land/x/windmill@v1.317.1/node_modules/denoify/src/tools/Version.ts";
const { compare } = Version;

v1 < v2 => -1 v1 === v2 => 0 v1 > v2 => 1

Returns

-1 | 0 | 1