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

std/_tools/release/deps.ts>semver.gtr

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function semver.gtr
import { semver } from "https://deno.land/std@0.137.0/_tools/release/deps.ts";
const { gtr } = semver;

Return true if version is greater than all the versions possible in the range.

Parameters

version: string | SemVer
range: string | Range
optional
optionsOrLoose: boolean | Options

Returns

boolean