Module

std/semver/mod.ts>testRange

Deno standard library
Go to Latest
function testRange
import { testRange } from "https://dotland.deno.dev/std@0.215.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

import testRange
import { testRange } from "https://dotland.deno.dev/std@0.215.0/semver/mod.ts";