Module

x/fluentci/deps.ts>semver.outside

This is the command line interface for FluentCI.
Go to Latest
function semver.outside
import { semver } from "https://dotland.deno.dev/x/fluentci@v0.13.0/deps.ts";
const { outside } = semver;

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

The range of possible versions

optional
hilo: ">" | "<"

The operator for the comparison or both if undefined.

Returns

boolean

True if the version is outside of the range based on the operator