Module

std/semver/mod.ts>outside

Deno standard library
Go to Latest
function outside
import { outside } from "https://dotland.deno.dev/std@0.181.0/semver/mod.ts";

Returns true if the version is outside the bounds of the range in either the high or low direction. The hilo argument must be either the string '>' or '<'. (This is the function called by gtr and ltr.)

Parameters

version: string | SemVer
range: string | Range
hilo: ">" | "<"
optional
options: Options

Returns

boolean