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

std/semver/gtr.ts>gtr

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function gtr
Deprecated
Deprecated

(will be removed after 0.217.0) See deno_std#4273 for details.

import { gtr } from "https://deno.land/std@0.216.0/semver/gtr.ts";

Checks to see if the version is greater than all possible versions of the range.

Parameters

version: SemVer
range: Range

Returns

boolean