Module

std/semver/mod.ts>satisfies

The Deno Standard Library
Latest
function satisfies
import { satisfies } from "https://dotland.deno.dev/std@0.224.0/semver/mod.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

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