Skip to main content
Module

std/semver/mod.ts>testRange

Deno standard library
Go to Latest
function testRange
Re-export
import { testRange } from "https://deno.land/std@0.212.0/semver/mod.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