Module

std/semver/mod.ts>gtr

Deno standard library
Go to Latest
function gtr
import { gtr } from "https://dotland.deno.dev/std@0.181.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