Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.95.0/node_modules/denoify/src/tools/Version.ts";
const { compare } = Version;

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

Returns

-1 | 0 | 1