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

x/mongo/tests/test.deps.ts>semver.Range

MongoDB driver for Deno
Extremely Popular
Go to Latest
class semver.Range
import { semver } from "https://deno.land/x/mongo@v0.31.1/tests/test.deps.ts";
const { Range } = semver;

Constructors

new
Range(range: string | Range | Comparator, optionsOrLoose?: boolean | Options)

Properties

includePrerelease: boolean
loose: boolean
options: Options
range: string
raw: string
set: ReadonlyArray<ReadonlyArray<Comparator>>

Methods

format(): string
intersects(range?: Range, optionsOrLoose?: boolean | Options): boolean
parseRange(range: string): ReadonlyArray<Comparator>
test(version: string | SemVer): boolean
toString(): string