Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/actionify/deploy/deps/semver.ts>semver.outside

Create and manage your GitHub workflows with TypeScript and Deno.
Latest
function semver.outside
import { semver } from "https://deno.land/x/actionify@0.3.0/deploy/deps/semver.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