Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function testRange
import { testRange } from "https://deno.land/std@0.199.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