Skip to main content
Module

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

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

Test to see if the version satisfies the range.

Parameters

version: SemVer

The version to test

The range to check

Returns

boolean

true if the version is in the range