UNPKG

524 BTypeScriptView Raw
1import Range = require('../classes/range');
2import SemVer = require('../classes/semver');
3import semver = require('../index');
4
5/**
6 * Return true if the version is outside the bounds of the range in either the high or low direction.
7 * The hilo argument must be either the string '>' or '<'. (This is the function called by gtr and ltr.)
8 */
9declare function outside(
10 version: string | SemVer,
11 range: string | Range,
12 hilo: '>' | '<',
13 optionsOrLoose?: boolean | semver.Options,
14): boolean;
15export = outside;