Skip to main content
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method semver.default.prototype.compare
import { semver } from "https://deno.land/std@0.157.0/_tools/release/deps.ts";
const { default } = semver;

Parameters

other: string | SemVer

Returns

1 | 0 | -1