Skip to main content
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
import { gtr } from "https://deno.land/std@0.195.0/semver/gtr.ts";

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

Returns

boolean

Parameters

version: string | SemVer
range: string | SemVerRange
optional
options: { includePrerelease: boolean; }

Returns

boolean