Deprecated
(will be removed in 0.215.0) Use gtr
, ltr
or testRange
instead.
import { outside } from "https://deno.land/std@0.213.0/semver/outside.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: SemVer
The version to compare to the range
range: SemVerRange | Range
The range of possible versions