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

std/semver/mod.ts>gtr

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

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

Parameters

version: string | SemVer
range: string | Range
optional
options: Options

Returns

boolean