Skip to main content
Module

std/semver/test_range.ts>testRange

The Deno Standard Library
Go to Latest
function testRange
import { testRange } from "https://deno.land/std@0.223.0/semver/test_range.ts";

Test to see if the version satisfies the range.

Parameters

version: SemVer

The version to test

range: Range

The range to check

Returns

boolean

true if the version is in the range