Go to Latest
function testRange
import { testRange } from "https://dotland.deno.dev/std@0.192.0/semver/test_range.ts";

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