Skip to main content
Module

x/mysql/test.deps.ts>semver.outside

MySQL driver for Deno
Extremely Popular
Latest
function semver.outside
import { semver } from "https://deno.land/x/mysql@v2.12.1/test.deps.ts";
const { outside } = semver;

Return 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
optionsOrLoose: boolean | Options

Returns

boolean