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

x/fresh/src/dev/deps.ts>semver.gtr

The next-gen web framework.
Extremely Popular
Go to Latest
function semver.gtr
import { semver } from "https://deno.land/x/fresh@1.5.4/src/dev/deps.ts";
const { gtr } = semver;

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