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

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

Create and manage your GitHub workflows with TypeScript and Deno.
Latest
class semver.Comparator
import { semver } from "https://deno.land/x/actionify@0.3.0/deploy/deps/semver.ts";
const { Comparator } = semver;

Constructors

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

Properties

loose: boolean
operator:
| ""
| "="
| "<"
| ">"
| "<="
| ">="
options: Options
semver: SemVer
value: string

Methods

intersects(comp: Comparator, optionsOrLoose?: boolean | Options): boolean
parse(comp: string): void
test(version: string | SemVer): boolean
toString(): string